NZMATH  1.2.0
About: NZMATH is a Python based number theory oriented calculation system.
  Fossies Dox: NZMATH-1.2.0.tar.gz  ("inofficial" and yet experimental doxygen-generated source code documentation)  

nzmath.lattice.Lattice Class Reference

Public Member Functions

def __init__ (self, basis, quadraticForm)
def createElement (self, compo)
def bilinearForm (self, v1, v2)
def isCyclic (self)
def isIdeal (self)

Public Attributes


Detailed Description

A class of lattice.

Definition at line 10 of file

Constructor & Destructor Documentation

◆ __init__()

def nzmath.lattice.Lattice.__init__ (   self,

Definition at line 14 of file

Member Function Documentation

◆ bilinearForm()

def nzmath.lattice.Lattice.bilinearForm (   self,

Definition at line 23 of file

References nzmath.lattice.Lattice.quadraticForm.

◆ createElement()

def nzmath.lattice.Lattice.createElement (   self,

◆ isCyclic()

def nzmath.lattice.Lattice.isCyclic (   self)
Check whether given lattice is a cyclic lattice. 

Definition at line 26 of file

References nzmath.lattice.Lattice.basis, nzmath.arith1.inverse(), and nzmath.bigrange.range().

◆ isIdeal()

def nzmath.lattice.Lattice.isIdeal (   self)
Check whether given lattice is a ideal lattice. 

Definition at line 49 of file

References nzmath.lattice.Lattice.basis, nzmath.arith1.CRT(), nzmath.gcd.gcd(), and nzmath.bigrange.range().

Member Data Documentation

◆ basis

◆ quadraticForm


Definition at line 16 of file

Referenced by nzmath.lattice.Lattice.bilinearForm().

The documentation for this class was generated from the following file: