idl.tmt.representation.matrix
Class MatrixManipulator
java.lang.Object
|
+--idl.tmt.representation.matrix.MatrixManipulator
- All Implemented Interfaces:
- java.io.Serializable
- public class MatrixManipulator
- extends java.lang.Object
- implements java.io.Serializable
Provides access to basic linear algebraic matrix operations,
on one or more matrices.
Should not be accessed directly. The class is used by methods
in TmtMatrix, which is more user friendly.
- Author:
- miles
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
MatrixManipulator
public MatrixManipulator()
transpose
public DoubleMatrix2D transpose(DoubleMatrix2D a)
matrixMult
public DoubleMatrix2D matrixMult(DoubleMatrix2D a,
DoubleMatrix2D b)
matrixSum
public DoubleMatrix2D matrixSum(DoubleMatrix2D a,
DoubleMatrix2D b)
scalarMult
public DoubleMatrix2D scalarMult(DoubleMatrix2D a,
double lambda)
cov
public DoubleMatrix2D cov(DoubleMatrix2D a)
cor
public DoubleMatrix2D cor(DoubleMatrix2D a)
centerColumns
public DoubleMatrix2D centerColumns(DoubleMatrix2D a)
normalizeColumns
public DoubleMatrix2D normalizeColumns(DoubleMatrix2D a)
getEigenvalueDecomposition
public EigenvalueDecomposition getEigenvalueDecomposition(DoubleMatrix2D a)
getSingularValueDecomposition
public SingularValueDecomposition getSingularValueDecomposition(DoubleMatrix2D a)