hephysics.matrix
Class MatrixOp
- java.lang.Object
-
- hephysics.matrix.MatrixOp
-
public class MatrixOp extends java.lang.ObjectSimple operations on matrices
-
-
Nested Class Summary
Nested Classes Modifier and Type Class and Description static classMatrixOp.IndeterminateMatrixExceptionstatic classMatrixOp.InvalidMatrixException
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static doubledet(Matrix mIn)static voidinverse(Matrix mIn, MutableMatrix mOut)Invert matrix mIn and write it to matrix mOut.static Matrixmult(Matrix m1, Matrix m2)static java.lang.StringtoString(Matrix m)static voidtransposed(Matrix mIn, MutableMatrix mOut)Traspose matrix mIn and write it to matrix mOut.
-
-
-
Method Detail
-
inverse
public static void inverse(Matrix mIn, MutableMatrix mOut) throws MatrixOp.InvalidMatrixException
Invert matrix mIn and write it to matrix mOut. This method allows both arguments to be the same, e.g.inverse(this,this);This method currently only supports square matrices.- Throws:
MatrixOp.InvalidMatrixException
-
toString
public static java.lang.String toString(Matrix m)
-
det
public static double det(Matrix mIn)
-
transposed
public static void transposed(Matrix mIn, MutableMatrix mOut)
Traspose matrix mIn and write it to matrix mOut. This method allows both arguments to be the same, e.g.transposed(this,this);This method currently only supports square matrices.
-
-
DMelt 3.0 © DataMelt by jWork.ORG