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

 basis
 
 quadraticForm
 

Detailed Description

A class of lattice.

Definition at line 10 of file lattice.py.

Constructor & Destructor Documentation

◆ __init__()

def nzmath.lattice.Lattice.__init__ (   self,
  basis,
  quadraticForm 
)

Definition at line 14 of file lattice.py.

Member Function Documentation

◆ bilinearForm()

def nzmath.lattice.Lattice.bilinearForm (   self,
  v1,
  v2 
)

Definition at line 23 of file lattice.py.

References nzmath.lattice.Lattice.quadraticForm.

◆ createElement()

def nzmath.lattice.Lattice.createElement (   self,
  compo 
)

◆ isCyclic()

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

Definition at line 26 of file lattice.py.

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 lattice.py.

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

Member Data Documentation

◆ basis

◆ quadraticForm

nzmath.lattice.Lattice.quadraticForm

Definition at line 16 of file lattice.py.

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


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