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

## Classes

class  FieldMatrix

class  FieldSquareMatrix

class  Matrix

class  MatrixRing

class  MatrixSizeError

class  NoInverse

class  NoInverseImage

class  RingMatrix

class  RingSquareMatrix

class  SquareMatrix

class  Subspace

class  VectorsNotIndependent

## Functions

def createMatrix (row, column=0, compo=0, coeff_ring=0)

def unitMatrix (size, coeff=1)

def zeroMatrix (row, column=None, coeff=0)

def _getRing (coeff_ring)

## Variables

def identityMatrix = unitMatrix

## ◆ _getRing()

 def nzmath.matrix._getRing ( coeff_ring )
private
```If 'coeff_ring' represents characteristic, return F_p or Z_n instance.
```

Definition at line 1940 of file matrix.py.

Referenced by nzmath.matrix.createMatrix().

## ◆ createMatrix()

 def nzmath.matrix.createMatrix ( row, column = `0`, compo = `0`, coeff_ring = `0` )

## ◆ unitMatrix()

 def nzmath.matrix.unitMatrix ( size, coeff = `1` )
```return unit matrix of size.
coeff is subclass for ring.Ring or ring.Ring.one.
```

Definition at line 1876 of file matrix.py.

References nzmath.matrix.createMatrix(), and nzmath.bigrange.range().

## ◆ zeroMatrix()

 def nzmath.matrix.zeroMatrix ( row, column = `None`, coeff = `0` )
```return zero matrix.
coeff is subclass for ring.Ring or ring.Ring.zero.
```

Definition at line 1896 of file matrix.py.

References nzmath.matrix.createMatrix().

## ◆ identityMatrix

 def nzmath.matrix.identityMatrix = unitMatrix

Definition at line 1894 of file matrix.py.