| Constructor and Description |
|---|
ColumnMatrix(AVector v) |
| 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
|
ColumnMatrix |
exactClone()
Returns an exact deep clone of an array (i.e.
|
double |
get(int row,
int column)
Returns a specified element in the matrix
|
RowMatrix |
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
|
AVector |
toVector()
Converts the matrix to a single flattened vector
in row major order.
|
static ColumnMatrix |
wrap(AVector v) |
add, add, add, add, addAt, addMultiple, addRowMultiple, applyOp, broadcast, calculateElement, clone, cloneRow, compose, compose, composeWith, composeWith, copyOfMatrix, copyOfTranslationVector, copyTo, determinant, dimensionality, elementCount, elementMul, elementSquaredSum, epsilonEquals, equals, equals, equals, equals, get, get, get, getColumn, getElements, getLeadingDiagonal, getLongShape, getMatrixComponent, getRow, getShape, getShape, getSlices, getSliceViews, hashCode, innerProduct, innerProduct, innerProduct, innerProduct, inputDimensions, inverse, isDiagonal, isElementConstrained, isFullyMutable, isHermitian, isIdentity, isInvertible, isLowerTriangular, isMutable, isPositiveDefinite, isSquare, isSymmetric, isUpperTriangular, isView, isZeroMatrix, iterator, mul, multiply, multiplyRow, negate, outerProduct, outputDimensions, reshape, scale, scaleAdd, set, set, set, set, set, set, setElements, setElements, slice, slice, sliceCount, sub, sub, sub, sub, swapColumns, swapRows, toAffineTransform, toDoubleBuffer, toMutableMatrix, toString, trace, transform, transformInPlace, transformInPlace, transposeInPlace, validategetTranslationComponent, isLinearcompose, transformNormaltakeComponents, takeComponents, takeComponents, transformpublic ColumnMatrix(AVector v)
public static ColumnMatrix wrap(AVector v)
public int rowCount()
AMatrixpublic int columnCount()
AMatrixcolumnCount in interface IMatrixcolumnCount in class AMatrixpublic void applyOp(Op op)
INDArraypublic void multiply(double factor)
INDArraypublic 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 RowMatrix getTranspose()
AMatrixgetTranspose in class AMatrixpublic AVector toVector()
AMatrixpublic AVector asVector()
AMatrixpublic ColumnMatrix exactClone()
INDArrayexactClone in interface INDArrayexactClone in class AMatrixCopyright © 2013. All Rights Reserved.