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.vector Namespace Reference

Classes

class  Vector
 
class  VectorSizeError
 

Functions

def innerProduct (bra, ket)
 
def ismatrix (obj)
 

Function Documentation

◆ innerProduct()

def nzmath.vector.innerProduct (   bra,
  ket 
)
Return the result of inner product of two vectors, whose
components are real or complex numbers.

Definition at line 114 of file vector.py.

References nzmath.bigrange.range().

Referenced by nzmath.lattice.LLL().

◆ ismatrix()

def nzmath.vector.ismatrix (   obj)
If the given obj is a matrix then return True.  False, otherwise.

Definition at line 129 of file vector.py.

Referenced by nzmath.vector.Vector.__mul__(), and nzmath.vector.Vector.__rmul__().