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.matrix.Subspace Class Reference
Inheritance diagram for nzmath.matrix.Subspace:
[legend]
Collaboration diagram for nzmath.matrix.Subspace:
[legend]

Public Member Functions

def __init__ (self, row, column, compo=0, coeff_ring=0, isbasis=None)

def fromMatrix (cls, mat, isbasis=None)

def toFieldMatrix (self)

def isSubspace (self, other)

def toBasis (self)

def supplementBasis (self)

def sumOfSubspaces (self, other)

def intersectionOfSubspaces (self, other)

Public Member Functions inherited from nzmath.matrix.FieldMatrix
def __init__ (self, row, column, compo=0, coeff_ring=0)

def __truediv__ (self, other)

def toSubspace (self, isbasis=None)

def kernel (self)

def image (self)

def rank (self)

def inverseImage (self, V)

def solve (self, B)

def columnEchelonForm (self)

Public Member Functions inherited from nzmath.matrix.RingMatrix

def __sub__ (self, other)

def __mul__ (self, other)

def __rmul__ (self, other)

def __mod__ (self, other)

def __pos__ (self)

def __neg__ (self)

def getCoefficientRing (self)

def hermiteNormalForm (self, non_zero=False)

def exthermiteNormalForm (self, non_zero=False)

def kernelAsModule (self)

Public Member Functions inherited from nzmath.matrix.Matrix
def __getitem__ (self, index)

def __setitem__ (self, key, value)

def __eq__ (self, other)

def __hash__ (self)

def __ne__ (self, other)

def __nonzero__ (self)

def __contains__ (self, item)

def __repr__ (self)

def __str__ (self)

def __call__ (self, arg)

def map (self, function)

def reduce (self, function, initializer=None)

def copy (self)

def set (self, compo)

def setRow (self, m, arg)

def setColumn (self, n, arg)

def getRow (self, i)

def getColumn (self, j)

def swapRow (self, m1, m2)

def swapColumn (self, n1, n2)

def insertRow (self, i, arg)

def insertColumn (self, j, arg)

def extendRow (self, arg)

def extendColumn (self, arg)

def deleteRow (self, i)

def deleteColumn (self, j)

def transpose (self)

def getBlock (self, i, j, row, column=None)

def subMatrix (self, I, J=None)

def toMatrix (self, flag=True)

Public Attributes

isbasis

row

compo

column

Public Attributes inherited from nzmath.matrix.FieldMatrix
coeff_ring

row

isbasis

Public Attributes inherited from nzmath.matrix.RingMatrix
row

coeff_ring

Public Attributes inherited from nzmath.matrix.Matrix
row

column

compo

coeff_ring

Private Attributes

__class__

Static Public Attributes inherited from nzmath.matrix.RingMatrix
def HNF = hermiteNormalForm

def extHNF = exthermiteNormalForm

Detailed Description

```Subspace is a class for subspaces.
```

Definition at line 1713 of file matrix.py.

◆ __init__()

 def nzmath.matrix.Subspace.__init__ ( self, row, column, compo = `0`, coeff_ring = `0`, isbasis = `None` )
```Subspace(row, column [,components, coeff_ring, isbasis])
```

Definition at line 1718 of file matrix.py.

References nzmath.matrix.Matrix._initialize().

◆ fromMatrix()

 def nzmath.matrix.Subspace.fromMatrix ( cls, mat, isbasis = `None` )
```A constructor class method, which creates Subspace from a
Matrix instance.
```

Definition at line 1732 of file matrix.py.

◆ intersectionOfSubspaces()

 def nzmath.matrix.Subspace.intersectionOfSubspaces ( self, other )
```Return space which is intersection of self and other.
```

Definition at line 1822 of file matrix.py.

◆ isSubspace()

 def nzmath.matrix.Subspace.isSubspace ( self, other )
```Check self is in other as subspace
```

Definition at line 1751 of file matrix.py.

◆ sumOfSubspaces()

 def nzmath.matrix.Subspace.sumOfSubspaces ( self, other )
```Return space which is sum of self and other.
```

Definition at line 1812 of file matrix.py.

◆ supplementBasis()

 def nzmath.matrix.Subspace.supplementBasis ( self )
```Return a basis of full space, which including self's column vectors.
```

Definition at line 1773 of file matrix.py.

◆ toBasis()

 def nzmath.matrix.Subspace.toBasis ( self )
```Change matrix to basis.
```

Definition at line 1761 of file matrix.py.

Referenced by nzmath.matrix.Subspace.supplementBasis().

◆ toFieldMatrix()

 def nzmath.matrix.Subspace.toFieldMatrix ( self )
```Subspace -> Field(Square)Matrix
```

Reimplemented from nzmath.matrix.RingMatrix.

Definition at line 1742 of file matrix.py.

◆ column

 nzmath.matrix.Subspace.column

Definition at line 1770 of file matrix.py.

◆ isbasis

 nzmath.matrix.Subspace.isbasis

Definition at line 1729 of file matrix.py.

◆ row

 nzmath.matrix.Subspace.row

Definition at line 1746 of file matrix.py.

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