Interface MatrixRing
-
- All Known Subinterfaces:
Matrix,SparseMatrix
- All Known Implementing Classes:
BidiagonalMatrix,BorderedHessian,ColumnBindMatrix,CongruentMatrix,CorrelationMatrix,CSRSparseMatrix,DenseMatrix,DiagonalMatrix,DiagonalSum,DOKSparseMatrix,FastKroneckerProduct,GivensMatrix,GoldfeldQuandtTrotter,Hessian,HilbertMatrix,ImmutableMatrix,Inverse,Jacobian,KroneckerProduct,LILSparseMatrix,LowerTriangularMatrix,MAT,MatrixRootByDiagonalization,MatthewsDavies,OuterProduct,PermutationMatrix,PositiveDefiniteMatrixByPositiveDiagonal,PositiveSemiDefiniteMatrixNonNegativeDiagonal,Pow,PseudoInverse,ReturnsMatrix,SampleCovariance,SimilarMatrix,SubMatrixRef,SymmetricKronecker,SymmetricMatrix,TridiagonalMatrix,UpperTriangularMatrix
public interface MatrixRing extends Ring<Matrix>
A matrix ring is the set of all n × n matrices over an arbitraryRingR. This matrix set becomes a ring under matrix addition and multiplication. Moreover, it has a structure of a *-algebra over R, where the involution * on the matrix ring is the matrix transposition.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Matrixadd(Matrix that)this + thatMatrixminus(Matrix that)this - thatMatrixmultiply(Matrix that)this * thatMatrixONE()Get an identity matrix that has the same dimension as this matrix.Matrixopposite()Get the opposite of this matrix.Matrixt()Get the transpose of this matrix.MatrixZERO()Get a zero matrix that has the same dimension as this matrix.
-
-
-
Method Detail
-
t
Matrix t()
Get the transpose of this matrix. This is the involution on the matrix ring.- Returns:
- the transpose of this matrix
-
add
Matrix add(Matrix that)
this + that- Specified by:
addin interfaceAbelianGroup<Matrix>- Parameters:
that- a matrix- Returns:
- the sum of
thisandthat
-
minus
Matrix minus(Matrix that)
this - that- Specified by:
minusin interfaceAbelianGroup<Matrix>- Parameters:
that- a matrix- Returns:
- the difference between
thisandthat
-
opposite
Matrix opposite()
Get the opposite of this matrix.- Specified by:
oppositein interfaceAbelianGroup<Matrix>- Returns:
- -this
- See Also:
- Wikipedia: Additive inverse
-
ZERO
Matrix ZERO()
Get a zero matrix that has the same dimension as this matrix.- Specified by:
ZEROin interfaceAbelianGroup<Matrix>- Returns:
- the 0 matrix
-
-