hephysics.matrix
Class MatrixOp

java.lang.Object
  extended by hephysics.matrix.MatrixOp

public class MatrixOp
extends java.lang.Object

Simple operations on matrices


Nested Class Summary
static class MatrixOp.IndeterminateMatrixException
           
static class MatrixOp.InvalidMatrixException
           
 
Method Summary
static double det(Matrix mIn)
           
static void inverse(Matrix mIn, MutableMatrix mOut)
          Invert matrix mIn and write it to matrix mOut.
static Matrix mult(Matrix m1, Matrix m2)
           
static java.lang.String toString(Matrix m)
           
static void transposed(Matrix mIn, MutableMatrix mOut)
          Traspose matrix mIn and write it to matrix mOut.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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.


mult

public static Matrix mult(Matrix m1,
                          Matrix m2)


jHepWork 2.8 (©) S.Chekanov