public class R6 extends BaseVector<R6>
.Modifier and Type | Class and Description |
---|---|
static class |
R6.IND
Class
R3x3.IND is an enumeration of the matrix indices
for the R3x3 class. |
Modifier and Type | Field and Description |
---|---|
static int |
INT_SIZE
number of dimensions (DIM=3)
|
ATTR_DATA
Constructor and Description |
---|
R6()
Constructor for
R6 . |
R6(double[] arrVals)
Initializing constructor for bases class
Vector . |
R6(R6 matParent)
Copy constructor for
R6 . |
Modifier and Type | Method and Description |
---|---|
R6 |
clone()
Creates and returns a deep copy of this vector.
|
protected R6 |
newInstance()
Handles object creation required by the base class.
|
static R6 |
newZero()
Create a new instance of a zero vector.
|
assignUnity, assignZero, copyVector, embedIn, getArrayCopy, getElem, getElem, getSize, hashCode, innerProd, isEquivalentTo, leftMultiply, load, minus, minusEquals, negate, negateEquals, norm1, norm2, normInf, plus, plusEquals, print, print, println, projectOnto, rightMultiply, save, setElem, setElem, setVector, setVector, setVector, times, timesEquals, toString
public static final int INT_SIZE
public R6() throws java.lang.UnsupportedOperationException
R6
.intSize
- java.lang.UnsupportedOperationException
public R6(double[] arrVals)
Initializing constructor for bases class Vector
.
Sets the entire matrix to the values given in the Java primitive type
double array. The argument itself remains unchanged.
The dimensions of the given Java double array must be consistent with the size of the matrix. Thus, if the arguments are inconsistent, an exception is thrown.
intSize
- the vector size of this objectarrMatrix
- Java primitive array containing new vector valuesjava.lang.ArrayIndexOutOfBoundsException
- the argument must have the same dimensions as this matrixpublic R6(R6 matParent)
R6
. Creates a cloned copy of the
given parent object.matParent
- template object for which the deep copy is performedpublic static R6 newZero()
public R6 clone()
clone
in class BaseVector<R6>
BaseVector.clone()
protected R6 newInstance()
newInstance
in class BaseVector<R6>
V
BaseVector.newInstance()