InnerMatrixLinearAlgebraFunctions(R, Row, Col, M)¶
matfuns.spad line 1 [edit on github]
R: DivisionRing
Row: FiniteLinearAggregate R
Col: FiniteLinearAggregate R
M: MatrixCategory(R, Row, Col)
InnerMatrixLinearAlgebraFunctions is an internal package which provides standard linear algebra functions on domains in MatrixCategory
- determinant: M -> R if R has Field
determinant(m)
returns the determinant of the matrixm
. an error message is returned if the matrix is not square.
- generalizedInverse: M -> M if R has Field
generalizedInverse(m)
returns the generalized (Moore–Penrose) inverse of the matrixm
, i.e. the matrixh
such that m*h*m=h, h*m*h=m,m*h
andh*m
are both symmetric matrices.
- inverse: M -> Union(M, failed)
inverse(m)
returns the inverse of the matrixm
. If the matrix is not invertible, “failed” is returned. Error: if the matrix is not square.
- nullity: M -> NonNegativeInteger
nullity(m)
returns the mullity of the matrixm
. This is the dimension of the null space of the matrixm
.
- nullSpace: M -> List Col if Col has shallowlyMutable
nullSpace(m)
returns a basis for the null space of the matrixm
.
- rank: M -> NonNegativeInteger
rank(m)
returns the rank of the matrixm
.
- row_operation_base: (M, Integer, Integer, Integer, Integer, R) -> Void
row_operation_base should
be local, but conditional
- row_operation_modular: (M, Integer, Integer, Integer, Integer, R, Integer) -> Void
row_operation_modular should
be local, but conditional
- rowEchelon: M -> M
rowEchelon(m)
returns the row echelon form of the matrixm
.