public final class VectorMatrixMN extends AVectorMatrix<AVector>
| Constructor and Description |
|---|
VectorMatrixMN(AMatrix source) |
VectorMatrixMN(int rowCount,
int columnCount) |
| Modifier and Type | Method and Description |
|---|---|
void |
appendRow(AVector row) |
void |
applyOp(Op op)
Applies a unary operator to all elements of the array (in-place)
|
double |
calculateElement(int i,
AVector inputVector)
Calculates a single element of the output.
|
VectorMatrixMN |
clone()
Clones the transform, performing a deep copy where needed
|
int |
columnCount()
Returns the number of columns in the matrix
|
VectorMatrixMN |
exactClone()
Returns an exact deep clone of an array (i.e.
|
double |
get(int row,
int column)
Returns a specified element in the matrix
|
AVector |
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
|
static VectorMatrixMN |
wrap(AVector[] rows) |
elementSquaredSum, elementSum, isView, nonZeroCount, setabs, add, add, add, add, addAt, addMultiple, addRowMultiple, applyOp, asVector, broadcast, clamp, cloneRow, compose, compose, composeWith, composeWith, copyOfMatrix, copyOfTranslationVector, copyTo, determinant, dimensionality, elementCount, elementMul, epsilonEquals, epsilonEquals, epsilonEquals, equals, equals, equals, equals, get, get, get, getColumn, getElements, getLeadingDiagonal, getLongShape, getMatrixComponent, getShape, getShape, getSlices, getSliceViews, getTranspose, getTransposeView, hashCode, innerProduct, innerProduct, innerProduct, innerProduct, inputDimensions, inverse, isDiagonal, isElementConstrained, isFullyMutable, isHermitian, isIdentity, isInvertible, isLowerTriangular, isMutable, isPositiveDefinite, isSymmetric, isUpperTriangular, isZeroMatrix, iterator, mul, multiply, multiplyRow, negate, outerProduct, outputDimensions, pow, reciprocal, reshape, scale, scaleAdd, set, set, set, set, set, setElements, setElements, slice, slice, sliceCount, square, sub, sub, sub, sub, swapColumns, swapRows, toAffineTransform, toDoubleBuffer, toMutableMatrix, toString, toVector, trace, transformInPlace, transformInPlace, transposeInPlace, validategetTranslationComponent, isLinearcompose, transformNormaltakeComponents, takeComponents, takeComponents, transformpublic VectorMatrixMN(int rowCount,
int columnCount)
public VectorMatrixMN(AMatrix source)
public static VectorMatrixMN wrap(AVector[] rows)
public void multiply(double factor)
INDArraypublic void applyOp(Op op)
INDArrayapplyOp in interface INDArrayapplyOp in class AVectorMatrix<AVector>public void appendRow(AVector row)
appendRow in class AVectorMatrix<AVector>public AVector getRow(int row)
AVectorMatrixgetRow in class AVectorMatrix<AVector>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 void transform(AVector source, AVector dest)
ATransformtransform in interface ITransformtransform in class AVectorMatrix<AVector>public double calculateElement(int i,
AVector inputVector)
ATransformcalculateElement in class AVectorMatrix<AVector>public boolean isSquare()
ATransformpublic VectorMatrixMN clone()
ATransformclone in interface INDArrayclone in class AVectorMatrix<AVector>public VectorMatrixMN exactClone()
INDArrayexactClone in interface INDArrayexactClone in class AMatrixCopyright © 2013. All Rights Reserved.