public class R6x6 extends SquareMatrix<R6x6>
Represents an element of R6×6, the set of real, 6×6 matrices. The class also contains the usual set of matrix operations and linear transforms on R6 that are represented by these matrices.
Modifier and Type | Class and Description |
---|---|
static class |
R6x6.IND
Enumeration for the element position indices of a homogeneous
phase space objects.
|
Modifier and Type | Field and Description |
---|---|
static int |
INT_SIZE
number of dimensions
|
ATTR_DATA, matImpl
Constructor and Description |
---|
R6x6()
Zero argument constructor for R6x6.
|
R6x6(double[][] arrVals)
Initializing constructor for
R6x6 . |
R6x6(R6x6 matParent)
Copy constructor for
R6x6 . |
R6x6(java.lang.String strTokens)
Parsing Constructor - creates an instance of the child class and initialize it
according to a token string of element values.
|
Modifier and Type | Method and Description |
---|---|
R6x6 |
clone()
Creates and returns a deep copy of this matrix.
|
static R6x6 |
newIdentity()
Create a new identity matrix
|
protected R6x6 |
newInstance()
Handles object creation required by the base class.
|
static R6x6 |
newZero()
Create a new instance of a zero matrix.
|
static R6x6 |
parse(java.lang.String strTokens)
Create a new
R6x6 instance and initialize it
according to a token string of element values. |
static R6x6 |
rotationProduct(R3x3 matSO3)
Compute the rotation matrix in phase space that is essentially the
Cartesian product of the given rotation matrix in SO(3).
|
assignIdentity, conjugateInv, conjugateTrans, det, getSize, inverse, isEquivalentTo, isSymmetric, setElem, solve, solveInPlace, times, times, times, timesEquals, timesEquals, transpose
assignMatrix, assignZero, conditionNumber, copy, equals, getArrayCopy, getColCnt, getElem, getElem, getMatrix, getRowCnt, hashCode, load, max, minus, minusEquals, newInstance, norm1, norm2, normF, normInf, plus, plusEquals, print, save, setElem, setMatrix, setMatrix, setSubMatrix, toString, toStringMatrix, toStringMatrix, toStringMatrix
public static final int INT_SIZE
public R6x6() throws java.lang.UnsupportedOperationException
java.lang.UnsupportedOperationException
- only thrown in the absence of this constructorpublic R6x6(double[][] arrVals) throws java.lang.ArrayIndexOutOfBoundsException
R6x6
. The matrix elements are
set to those in the given Java native array, which must be 6×6
dimensional.arrVals
- initial values for new matrixjava.lang.ArrayIndexOutOfBoundsException
- the given native array is not 6×6 dimensionalpublic R6x6(java.lang.String strTokens) throws java.lang.IllegalArgumentException, java.lang.NumberFormatException
Parsing Constructor - creates an instance of the child class and initialize it according to a token string of element values.
The token string argument is assumed to be one-dimensional and packed by column (ala FORTRAN).
strTokens
- token vector of getSize()^2 numeric valuesjava.lang.IllegalArgumentException
- wrong number of string tokensjava.lang.NumberFormatException
- bad number format, unparseablepublic R6x6(R6x6 matParent) throws java.lang.UnsupportedOperationException
R6x6
. Creates a deep
copy of the given object. The dimensions are set and the
internal array is cloned.matParent
- the matrix to be clonedjava.lang.UnsupportedOperationException
- base class has not defined a public, zero-argument constructorpublic static R6x6 newZero()
public static R6x6 newIdentity()
public static R6x6 rotationProduct(R3x3 matSO3)
Compute the rotation matrix in phase space that is essentially the Cartesian product of the given rotation matrix in SO(3). That is, if the given argument is the rotation O, the returned matrix, denoted M, is the M = O×O×I embedding into homogeneous phase space R6×6×{1}. Thus, M ∈ SO(6) ⊂ R6×6×{1}.
Viewing phase-space as a 6D manifold built as the tangent bundle over R3 configuration space, then the fibers of 3D configuration space at a point (x,y,z) are represented by the Cartesian planes (x',y',z'). The returned phase matrix rotates these fibers in the same manner as their base point (x,y,z).
This is a convenience method to build the above rotation matrix in SO(7).
matSO3
- a rotation matrix in three dimensions, i.e., a member of SO(3) ⊂ R3×3public static R6x6 parse(java.lang.String strTokens) throws java.lang.IllegalArgumentException, java.lang.NumberFormatException
Create a new R6x6
instance and initialize it
according to a token string of element values.
The token string argument is assumed to be one-dimensional and packed by column (ala FORTRAN).
strTokens
- token vector of 6x6=36 numeric valuesjava.lang.IllegalArgumentException
- wrong number of string tokensjava.lang.NumberFormatException
- bad number format, unparseablepublic R6x6 clone()
clone
in class BaseMatrix<R6x6>
BaseMatrix.clone()
protected R6x6 newInstance()
newInstance
in class BaseMatrix<R6x6>
M
BaseMatrix.newInstance()