public class BasicHep3Matrix extends Object implements Hep3Matrix, MutableMatrix, Serializable
| Constructor and Description |
|---|
BasicHep3Matrix() |
BasicHep3Matrix(double e11,
double e12,
double e13,
double e21,
double e22,
double e23,
double e31,
double e32,
double e33) |
BasicHep3Matrix(Matrix m) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
String |
toString() |
double |
trace()
Returns the trace of the matrix.
|
void |
transpose()
Tranpose this matrix (into itself)
|
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.InvalidMatrixExceptionpublic double e(int row,
int column)
public double det()
det in interface Hep3Matrixpublic double trace()
trace in interface Hep3Matrixpublic void setElement(int row,
int column,
double value)
setElement in interface MutableMatrixpublic void setPassiveEuler(double phi,
double theta,
double psi)
public void setActiveEuler(double phi,
double theta,
double psi)
public static BasicHep3Matrix identity()
public int getNRows()
Matrixpublic int getNColumns()
MatrixgetNColumns in interface Matrixpublic void invert()
throws MatrixOp.IndeterminateMatrixException
MutableMatrixinvert in interface MutableMatrixMatrixOp.IndeterminateMatrixExceptionMatrixOp.inverse(Matrix,MutableMatrix)public void transpose()
MutableMatrixtranspose in interface MutableMatrixMatrixOp.transposed(Matrix,MutableMatrix)Jas4pp 1.5 © Java Analysis Studio for Particle Physics