linearalgebra
Interface MatrixInterface
- All Known Subinterfaces:
- ColumnInterface, NumericColumnInterface, NumericMatrixInterface, NumericRowInterface, RowInterface
- All Known Implementing Classes:
- AbstractMatrix, IdentityMatrix, Matrix, MatrixVector, NumericColumn, NumericRow, PermutationMatrix, TransposeWrapper
public interface MatrixInterface
getColumnCount
int getColumnCount()
getRowCount
int getRowCount()
swapRows
void swapRows(int row1,
int row2)
swapRows
void swapRows(PermutationMatrix p)
hasRowPivot
boolean hasRowPivot(int row)
hasColumnPivot
boolean hasColumnPivot(int col)
getRowLeftPivotIndex
int getRowLeftPivotIndex(int row)
getRowRightPivotIndex
int getRowRightPivotIndex(int row)
getColumnTopPivotIndex
int getColumnTopPivotIndex(int col)
getColumnBottomPivotIndex
int getColumnBottomPivotIndex(int col)
factorL
MatrixInterface factorL(PermutationMatrix p,
boolean partialPivot)
factorL
MatrixInterface factorL(PermutationMatrix p)
factorU
MatrixInterface factorU(PermutationMatrix p)
factorInverse
MatrixInterface factorInverse()
throws UninvertibleMatrixException
- Throws:
UninvertibleMatrixException
getTranspose
MatrixInterface getTranspose()
getProjectionMatrix
MatrixInterface getProjectionMatrix()
getOrthogonalProjectionMatrix
MatrixInterface getOrthogonalProjectionMatrix()
getReflectionMatrix
MatrixInterface getReflectionMatrix()
isIdentity
boolean isIdentity()
isUpperRightTriangular
boolean isUpperRightTriangular()
isLowerLeftTriangular
boolean isLowerLeftTriangular()
isSymmetric
boolean isSymmetric()
isPositiveDefinite
boolean isPositiveDefinite()
isIdempotent
boolean isIdempotent()
isOrthogonal
boolean isOrthogonal()
equals
boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object