public final class VectorMatrixM3 extends AVectorMatrix<Vector3> implements ISpecialisedTransform
| Constructor and Description |
|---|
VectorMatrixM3(int rowCount) |
| Modifier and Type | Method and Description |
|---|---|
void |
appendRow(AVector row) |
void |
appendRow(Vector3 row) |
double |
calculateElement(int i,
AVector inputVector)
Calculates a single element of the output.
|
VectorMatrixM3 |
clone()
Clones the transform, performing a deep copy where needed
|
int |
columnCount()
Returns the number of columns in the matrix
|
VectorMatrixM3 |
exactClone()
Returns an exact deep clone of an array (i.e.
|
double |
get(int row,
int column)
Returns a specified element in the matrix
|
Vector3 |
getRow(int row)
Gets a row of the matrix.
|
boolean |
isSquare()
Returns true if the transform is square (same number of input and output dimensions)
|
void |
multiply(double factor)
Multiplies all elements of the array by a given double value
|
int |
rowCount()
Returns the number of rows in the matrix
|
void |
set(int row,
int column,
double value)
Sets a specified element in the matrix
|
void |
transform(AVector source,
AVector dest)
Transforms the source vector, storing the result in the given destination vector
|
void |
transform(Vector3 source,
AVector dest) |
double |
unsafeGet(int row,
int column)
Gets an element in the matrix in an unsafe fashion, without performing bound checks
The result is undefined if the row and column are out of bounds.
|
void |
unsafeSet(int row,
int column,
double value)
Sets an element value in the matrix in an unsafe fashion, without performing bound checks
The result is undefined if the row and column are out of bounds.
|
applyOp, copyRowTo, elementSquaredSum, elementSum, getElements, isFullyMutable, isView, isZero, nonZeroCount, set, transformabs, add, add, add, add, add, addAt, addMultiple, addRowMultiple, applyOp, asDoubleArray, asElementList, asVector, bandIndex, bandLength, bandLength, bandPosition, broadcast, broadcastCloneLike, broadcastLike, broadcastLike, calculateElement, clamp, cloneRow, compose, compose, composeWith, composeWith, copyColumnTo, copyOfMatrix, copyOfTranslationVector, copyTo, determinant, dimensionality, divide, divide, elementCount, elementDiv, elementIterator, elementMul, ensureMutable, epsilonEquals, epsilonEquals, epsilonEquals, equals, equals, equals, equals, exp, fill, get, get, get, getBand, getBandWrapped, getColumn, getLeadingDiagonal, getLongShape, getMatrixComponent, getShape, getShape, getSlices, getSliceViews, getTranspose, getTransposeCopy, getTransposeView, hashCode, hasOrthonormalColumns, hassOrthonormalRows, innerProduct, innerProduct, innerProduct, innerProduct, innerProduct, innerProduct, inputDimensions, inverse, isBoolean, isDiagonal, isElementConstrained, isHermitian, isIdentity, isInvertible, isLowerTriangular, isMutable, isOrthogonal, isPositiveDefinite, isRectangularDiagonal, isSameShape, isSameShape, isSymmetric, isUpperTriangular, iterator, log, lowerBandwidth, lowerBandwidthLimit, mul, multiply, multiplyRow, negate, outerProduct, outputDimensions, pow, reciprocal, reshape, reshape, scale, scaleAdd, set, set, set, set, set, setColumn, setElements, setElements, setRow, signum, slice, slice, sliceCount, sqrt, square, sub, sub, sub, sub, sub, subMatrix, swapColumns, swapRows, toAffineTransform, toArray, toDoubleArray, toDoubleBuffer, toMatrix, toMatrixTranspose, toMutableMatrix, toString, toVector, trace, transform, transform, transformInPlace, transformInPlace, transposeInnerProduct, transposeInnerProduct, transposeInPlace, upperBandwidth, upperBandwidthLimit, validategetTranslationComponent, isLinearcompose, transformNormaltakeComponents, takeComponents, takeComponentspublic void multiply(double factor)
INDArraypublic void appendRow(AVector row)
appendRow in class AVectorMatrix<Vector3>public void appendRow(Vector3 row)
public int rowCount()
AMatrixpublic int columnCount()
AMatrixcolumnCount in interface IMatrixcolumnCount in class AMatrixpublic double get(int row,
int column)
AMatrixpublic void set(int row,
int column,
double value)
AMatrixpublic double unsafeGet(int row,
int column)
AMatrixunsafeGet in class AVectorMatrix<Vector3>public void unsafeSet(int row,
int column,
double value)
AMatrixunsafeSet in class AVectorMatrix<Vector3>public Vector3 getRow(int row)
AVectorMatrixgetRow in class AVectorMatrix<Vector3>public void transform(AVector source, AVector dest)
ATransformtransform in interface ITransformtransform in class AVectorMatrix<Vector3>public double calculateElement(int i,
AVector inputVector)
ATransformcalculateElement in class AVectorMatrix<Vector3>public boolean isSquare()
ATransformpublic VectorMatrixM3 clone()
ATransformclone in interface INDArrayclone in class AVectorMatrix<Vector3>public VectorMatrixM3 exactClone()
INDArrayexactClone in interface INDArrayexactClone in class AMatrixCopyright © 2013. All Rights Reserved.