NZMATH
1.2.0
About: NZMATH is a Python based number theory oriented calculation system.
![]() ![]() |
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 | |
compo | |
Static Private Attributes | |
def | __div__ = __truediv__ |
def nzmath.vector.Vector.__init__ | ( | self, | |
compo | |||
) |
def nzmath.vector.Vector.__add__ | ( | self, | |
other | |||
) |
Definition at line 32 of file vector.py.
References nzmath.matrix.Matrix.__class__, nzmath.matrix.RingMatrix.__class__, nzmath.matrix.RingSquareMatrix.__class__, nzmath.matrix.FieldMatrix.__class__, nzmath.matrix.MatrixRing.__class__, nzmath.matrix.Subspace.__class__, nzmath.vector.Vector.compo, nzmath.matrix.Matrix.compo, nzmath.module.Submodule.compo, nzmath.lattice.LatticeElement.compo, and nzmath.matrix.Subspace.compo.
def nzmath.vector.Vector.__eq__ | ( | self, | |
other | |||
) |
Definition at line 22 of file vector.py.
References nzmath.vector.Vector.compo, nzmath.matrix.Matrix.compo, nzmath.module.Submodule.compo, nzmath.lattice.LatticeElement.compo, and nzmath.matrix.Subspace.compo.
def nzmath.vector.Vector.__getitem__ | ( | self, | |
index | |||
) |
Definition at line 10 of file vector.py.
References nzmath.vector.Vector.compo, nzmath.matrix.Matrix.compo, nzmath.module.Submodule.compo, nzmath.lattice.LatticeElement.compo, and nzmath.matrix.Subspace.compo.
def nzmath.vector.Vector.__hash__ | ( | self | ) |
Definition at line 25 of file vector.py.
References nzmath.vector.Vector.compo, nzmath.matrix.Matrix.compo, nzmath.module.Submodule.compo, nzmath.lattice.LatticeElement.compo, and nzmath.matrix.Subspace.compo.
def nzmath.vector.Vector.__iter__ | ( | self | ) |
Definition at line 19 of file vector.py.
References nzmath.vector.Vector.compo, nzmath.matrix.Matrix.compo, nzmath.module.Submodule.compo, nzmath.lattice.LatticeElement.compo, and nzmath.matrix.Subspace.compo.
def nzmath.vector.Vector.__len__ | ( | self | ) |
Definition at line 16 of file vector.py.
References nzmath.vector.Vector.compo, nzmath.matrix.Matrix.compo, nzmath.module.Submodule.compo, nzmath.lattice.LatticeElement.compo, and nzmath.matrix.Subspace.compo.
def nzmath.vector.Vector.__mod__ | ( | self, | |
other | |||
) |
Definition at line 73 of file vector.py.
References nzmath.matrix.Matrix.__class__, nzmath.matrix.RingMatrix.__class__, nzmath.matrix.RingSquareMatrix.__class__, nzmath.matrix.FieldMatrix.__class__, nzmath.matrix.MatrixRing.__class__, nzmath.matrix.Subspace.__class__, nzmath.vector.Vector.compo, nzmath.matrix.Matrix.compo, nzmath.module.Submodule.compo, nzmath.lattice.LatticeElement.compo, and nzmath.matrix.Subspace.compo.
def nzmath.vector.Vector.__mul__ | ( | self, | |
other | |||
) |
Definition at line 54 of file vector.py.
References nzmath.matrix.Matrix.__class__, nzmath.matrix.RingMatrix.__class__, nzmath.matrix.RingSquareMatrix.__class__, nzmath.matrix.FieldMatrix.__class__, nzmath.matrix.MatrixRing.__class__, nzmath.matrix.Subspace.__class__, nzmath.vector.Vector.compo, nzmath.matrix.Matrix.compo, nzmath.module.Submodule.compo, nzmath.lattice.LatticeElement.compo, nzmath.matrix.Subspace.compo, and nzmath.vector.ismatrix().
def nzmath.vector.Vector.__ne__ | ( | self, | |
other | |||
) |
Definition at line 29 of file vector.py.
References nzmath.vector.Vector.compo, nzmath.matrix.Matrix.compo, nzmath.module.Submodule.compo, nzmath.lattice.LatticeElement.compo, and nzmath.matrix.Subspace.compo.
def nzmath.vector.Vector.__neg__ | ( | self | ) |
Definition at line 51 of file vector.py.
References nzmath.matrix.Matrix.__class__, nzmath.matrix.RingMatrix.__class__, nzmath.matrix.RingSquareMatrix.__class__, nzmath.matrix.FieldMatrix.__class__, nzmath.matrix.MatrixRing.__class__, nzmath.matrix.Subspace.__class__, nzmath.vector.Vector.compo, nzmath.matrix.Matrix.compo, nzmath.module.Submodule.compo, nzmath.lattice.LatticeElement.compo, and nzmath.matrix.Subspace.compo.
def nzmath.vector.Vector.__repr__ | ( | self | ) |
Definition at line 80 of file vector.py.
References nzmath.vector.Vector.compo, nzmath.matrix.Matrix.compo, nzmath.module.Submodule.compo, nzmath.lattice.LatticeElement.compo, and nzmath.matrix.Subspace.compo.
def nzmath.vector.Vector.__rmul__ | ( | self, | |
other | |||
) |
Definition at line 62 of file vector.py.
References nzmath.matrix.Matrix.__class__, nzmath.matrix.RingMatrix.__class__, nzmath.matrix.RingSquareMatrix.__class__, nzmath.matrix.FieldMatrix.__class__, nzmath.matrix.MatrixRing.__class__, nzmath.matrix.Subspace.__class__, nzmath.vector.Vector.compo, nzmath.matrix.Matrix.compo, nzmath.module.Submodule.compo, nzmath.lattice.LatticeElement.compo, nzmath.matrix.Subspace.compo, and nzmath.vector.ismatrix().
def nzmath.vector.Vector.__setitem__ | ( | self, | |
index, | |||
value | |||
) |
Definition at line 13 of file vector.py.
References nzmath.vector.Vector.compo, nzmath.matrix.Matrix.compo, nzmath.module.Submodule.compo, nzmath.lattice.LatticeElement.compo, and nzmath.matrix.Subspace.compo.
def nzmath.vector.Vector.__str__ | ( | self | ) |
Definition at line 83 of file vector.py.
References nzmath.vector.Vector.compo, nzmath.matrix.Matrix.compo, nzmath.module.Submodule.compo, nzmath.lattice.LatticeElement.compo, and nzmath.matrix.Subspace.compo.
def nzmath.vector.Vector.__sub__ | ( | self, | |
other | |||
) |
Definition at line 42 of file vector.py.
References nzmath.matrix.Matrix.__class__, nzmath.matrix.RingMatrix.__class__, nzmath.matrix.RingSquareMatrix.__class__, nzmath.matrix.FieldMatrix.__class__, nzmath.matrix.MatrixRing.__class__, nzmath.matrix.Subspace.__class__, nzmath.vector.Vector.compo, nzmath.matrix.Matrix.compo, nzmath.module.Submodule.compo, nzmath.lattice.LatticeElement.compo, and nzmath.matrix.Subspace.compo.
def nzmath.vector.Vector.__truediv__ | ( | self, | |
other | |||
) |
Definition at line 68 of file vector.py.
References nzmath.matrix.Matrix.__class__, nzmath.matrix.RingMatrix.__class__, nzmath.matrix.RingSquareMatrix.__class__, nzmath.matrix.FieldMatrix.__class__, nzmath.matrix.MatrixRing.__class__, nzmath.matrix.Subspace.__class__, nzmath.vector.Vector.compo, nzmath.matrix.Matrix.compo, nzmath.module.Submodule.compo, nzmath.lattice.LatticeElement.compo, and nzmath.matrix.Subspace.compo.
def nzmath.vector.Vector.copy | ( | self | ) |
Definition at line 87 of file vector.py.
References nzmath.matrix.Matrix.__class__, nzmath.matrix.RingMatrix.__class__, nzmath.matrix.RingSquareMatrix.__class__, nzmath.matrix.FieldMatrix.__class__, nzmath.matrix.MatrixRing.__class__, nzmath.matrix.Subspace.__class__, nzmath.vector.Vector.compo, nzmath.matrix.Matrix.compo, nzmath.module.Submodule.compo, nzmath.lattice.LatticeElement.compo, and nzmath.matrix.Subspace.compo.
def nzmath.vector.Vector.indexOfNoneZero | ( | self | ) |
Definition at line 96 of file vector.py.
References nzmath.vector.Vector.compo, nzmath.matrix.Matrix.compo, nzmath.module.Submodule.compo, nzmath.lattice.LatticeElement.compo, and nzmath.matrix.Subspace.compo.
def nzmath.vector.Vector.set | ( | self, | |
compo | |||
) |
Definition at line 90 of file vector.py.
References nzmath.vector.Vector.compo, nzmath.matrix.Matrix.compo, nzmath.module.Submodule.compo, nzmath.lattice.LatticeElement.compo, and nzmath.matrix.Subspace.compo.
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 vector.py.
References nzmath.vector.Vector.compo, nzmath.matrix.Matrix.compo, nzmath.module.Submodule.compo, nzmath.lattice.LatticeElement.compo, and nzmath.matrix.Subspace.compo.
|
staticprivate |
nzmath.vector.Vector.compo |
Definition at line 8 of file vector.py.
Referenced by nzmath.vector.Vector.__add__(), nzmath.vector.Vector.__eq__(), nzmath.vector.Vector.__getitem__(), nzmath.vector.Vector.__hash__(), nzmath.vector.Vector.__iter__(), nzmath.vector.Vector.__len__(), nzmath.vector.Vector.__mod__(), nzmath.vector.Vector.__mul__(), nzmath.vector.Vector.__ne__(), nzmath.vector.Vector.__neg__(), nzmath.vector.Vector.__repr__(), nzmath.vector.Vector.__rmul__(), nzmath.vector.Vector.__setitem__(), nzmath.vector.Vector.__str__(), nzmath.vector.Vector.__sub__(), nzmath.vector.Vector.__truediv__(), nzmath.vector.Vector.copy(), nzmath.vector.Vector.indexOfNoneZero(), nzmath.vector.Vector.set(), and nzmath.vector.Vector.toMatrix().