| Modifier and Type | Method and Description |
|---|---|
void |
applyOp(Op op)
Applies a unary operator to all elements of the array (in-place)
|
AVector |
asVector()
Returns the matrix values as a single reference Vector in the form [row0
row1 row2....]
|
int |
columnCount()
Returns the number of columns in the matrix
|
double |
elementSum()
Returns the sum of all elements in the matrix
|
RowMatrix |
exactClone()
Returns an exact deep clone of an array (i.e.
|
double |
get(int row,
int column)
Returns a specified element in the matrix
|
ColumnMatrix |
getTranspose()
Returns a transposed version of this matrix.
|
void |
multiply(double factor)
Multiplies all elements of the array by a given double value
|
long |
nonZeroCount()
Returns the number of non-zero elements in the array.
|
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
|
Vector |
toVector()
Converts the matrix to a single flattened vector
in row major order.
|
Matrix |
transposeInnerProduct(Matrix s) |
static RowMatrix |
wrap(AVector v) |
abs, add, add, add, add, add, addAt, addMultiple, addRowMultiple, applyOp, asDoubleArray, asElementList, bandIndex, bandLength, bandLength, bandPosition, broadcast, broadcastCloneLike, broadcastLike, broadcastLike, calculateElement, calculateElement, clamp, clone, cloneRow, compose, compose, composeWith, composeWith, copyColumnTo, copyOfMatrix, copyOfTranslationVector, copyRowTo, copyTo, determinant, dimensionality, divide, divide, elementCount, elementDiv, elementIterator, elementMul, elementSquaredSum, ensureMutable, epsilonEquals, epsilonEquals, epsilonEquals, equals, equals, equals, equals, exp, fill, get, get, get, getBand, getBandWrapped, getColumn, getElements, getLeadingDiagonal, getLongShape, getMatrixComponent, getRow, getShape, getShape, getSlices, getSliceViews, getTransposeCopy, getTransposeView, hashCode, hasOrthonormalColumns, hassOrthonormalRows, innerProduct, innerProduct, innerProduct, innerProduct, innerProduct, innerProduct, inputDimensions, inverse, isBoolean, isDiagonal, isElementConstrained, isFullyMutable, isHermitian, isIdentity, isInvertible, isLowerTriangular, isMutable, isOrthogonal, isPositiveDefinite, isRectangularDiagonal, isSameShape, isSameShape, isSquare, isSymmetric, isUpperTriangular, isView, isZero, iterator, log, lowerBandwidth, lowerBandwidthLimit, mul, multiply, multiplyRow, negate, outerProduct, outputDimensions, pow, reciprocal, reshape, reshape, scale, scaleAdd, set, 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, trace, transform, transform, transform, transform, transformInPlace, transformInPlace, transposeInnerProduct, transposeInPlace, unsafeGet, unsafeSet, upperBandwidth, upperBandwidthLimit, validategetTranslationComponent, isLinearcompose, transformNormaltakeComponents, takeComponents, takeComponentspublic RowMatrix(AVector v)
public int rowCount()
AMatrixpublic Vector toVector()
AMatrixpublic AVector asVector()
AMatrixpublic void multiply(double factor)
INDArraypublic void applyOp(Op op)
INDArraypublic int columnCount()
AMatrixcolumnCount in interface IMatrixcolumnCount in class AMatrixpublic double elementSum()
AMatrixelementSum in interface INDArrayelementSum in class AMatrixpublic long nonZeroCount()
INDArraynonZeroCount in interface INDArraynonZeroCount in class AMatrixpublic double get(int row,
int column)
AMatrixpublic void set(int row,
int column,
double value)
AMatrixpublic ColumnMatrix getTranspose()
AMatrixgetTranspose in interface INDArraygetTranspose in class AMatrixpublic RowMatrix exactClone()
INDArrayexactClone in interface INDArrayexactClone in class AMatrixpublic Matrix transposeInnerProduct(Matrix s)
transposeInnerProduct in class AMatrixCopyright © 2013. All Rights Reserved.