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.Vector Class Reference
Inheritance diagram for nzmath.vector.Vector:
Collaboration diagram for nzmath.vector.Vector:

Public Member Functions

def __init__ (self, compo)
def __getitem__ (self, index)
def __setitem__ (self, index, value)
def __len__ (self)
def __iter__ (self)
def __eq__ (self, other)
def __hash__ (self)
def __ne__ (self, other)
def __add__ (self, other)
def __sub__ (self, other)
def __neg__ (self)
def __mul__ (self, other)
def __rmul__ (self, other)
def __truediv__ (self, other)
def __mod__ (self, other)
def __repr__ (self)
def __str__ (self)
def copy (self)
def set (self, compo)
def indexOfNoneZero (self)
def toMatrix (self, as_column=False)

Public Attributes


Static Private Attributes

def __div__ = __truediv__

Detailed Description

Class Vector is an elemental class of vector.

Definition at line 3 of file

Constructor & Destructor Documentation

◆ __init__()

def nzmath.vector.Vector.__init__ (   self,
Class Vector is an elemental class of vector.

Definition at line 7 of file

Member Function Documentation

◆ __add__()

◆ __eq__()

def nzmath.vector.Vector.__eq__ (   self,

◆ __getitem__()

def nzmath.vector.Vector.__getitem__ (   self,

◆ __hash__()

◆ __iter__()

◆ __len__()

◆ __mod__()

◆ __mul__()

◆ __ne__()

def nzmath.vector.Vector.__ne__ (   self,

◆ __neg__()

◆ __repr__()

◆ __rmul__()

◆ __setitem__()

def nzmath.vector.Vector.__setitem__ (   self,

◆ __str__()

◆ __sub__()

◆ __truediv__()

◆ copy()

◆ indexOfNoneZero()

def nzmath.vector.Vector.indexOfNoneZero (   self)

◆ set()

def nzmath.vector.Vector.set (   self,

◆ toMatrix()

def nzmath.vector.Vector.toMatrix (   self,
  as_column = False 
toMatrix(as_column): convert to Matrix representation.
If as_column is True, return column matrix, otherwise row matrix.

Definition at line 102 of file

References nzmath.vector.Vector.compo, nzmath.matrix.Matrix.compo, nzmath.module.Submodule.compo, nzmath.lattice.LatticeElement.compo, and nzmath.matrix.Subspace.compo.

Member Data Documentation

◆ __div__

def nzmath.vector.Vector.__div__ = __truediv__

Definition at line 71 of file

◆ compo

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