|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object hep.physics.vec.BasicHep3Matrix
public class BasicHep3Matrix
3x3 matrices for Hep3Vector operations.
Constructor Summary | |
---|---|
BasicHep3Matrix()
|
|
BasicHep3Matrix(double e11,
double e12,
double e13,
double e21,
double e22,
double e23,
double e31,
double e32,
double e33)
|
|
BasicHep3Matrix(Matrix m)
|
Method Summary | |
---|---|
double |
det()
Returns the determinent of the matrix. |
double |
e(int row,
int column)
Returns the (row, column) element |
int |
getNColumns()
Returns the number of columns |
int |
getNRows()
Returns the number of rows |
static BasicHep3Matrix |
identity()
|
void |
invert()
Invert this matrix (into itself) |
void |
setActiveEuler(double phi,
double theta,
double psi)
Defines a rotation matrix via Euler angles. |
void |
setElement(int row,
int column,
double value)
Sets the (row, column) element |
void |
setPassiveEuler(double phi,
double theta,
double psi)
Defines a rotation matrix via Euler angles. |
java.lang.String |
toString()
|
double |
trace()
Returns the trace of the matrix. |
void |
transpose()
Tranpose this matrix (into itself) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BasicHep3Matrix()
public BasicHep3Matrix(double e11, double e12, double e13, double e21, double e22, double e23, double e31, double e32, double e33)
public BasicHep3Matrix(Matrix m) throws MatrixOp.InvalidMatrixException
MatrixOp.InvalidMatrixException
Method Detail |
---|
public double e(int row, int column)
e
in interface Matrix
public double det()
det
in interface Hep3Matrix
public double trace()
trace
in interface Hep3Matrix
public void setElement(int row, int column, double value)
setElement
in interface MutableMatrix
public void setPassiveEuler(double phi, double theta, double psi)
public void setActiveEuler(double phi, double theta, double psi)
public static BasicHep3Matrix identity()
public java.lang.String toString()
toString
in class java.lang.Object
public int getNRows()
Matrix
getNRows
in interface Matrix
public int getNColumns()
Matrix
getNColumns
in interface Matrix
public void invert() throws MatrixOp.IndeterminateMatrixException
MutableMatrix
invert
in interface MutableMatrix
MatrixOp.IndeterminateMatrixException
MatrixOp.inverse(Matrix,MutableMatrix)
public void transpose()
MutableMatrix
transpose
in interface MutableMatrix
MatrixOp.transposed(Matrix,MutableMatrix)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |