public final class ZeroMatrix extends ABooleanMatrix
| Modifier and Type | Method and Description |
|---|---|
AVector |
asVector()
Returns the matrix values as a single reference Vector in the form [row0
row1 row2....]
|
double |
calculateElement(int i,
AVector v)
Calculates a single element of the output.
|
AMatrix |
clone()
Clones the transform, performing a deep copy where needed
|
int |
columnCount()
Returns the number of columns in the matrix
|
AMatrix |
compose(ATransform t)
Composes this transformation with another transformation, returning
a new combined transformation
|
void |
composeWith(AMatrix t) |
void |
composeWith(ATransform t)
Composes this transformation with a given transformation,
mutating the transformation to represent the combined transform
|
void |
copyColumnTo(int col,
double[] dest,
int destOffset) |
void |
copyRowTo(int row,
double[] dest,
int destOffset) |
static ZeroMatrix |
create(int rows,
int columns) |
double |
determinant()
Calculates the determinant of the matrix.
|
void |
elementMul(AMatrix m)
Multiplies this matrix in-place by another in an entrywise manner (Hadamard product).
|
double |
elementSum()
Returns the sum of all elements in the matrix
|
boolean |
equals(AMatrix m) |
ZeroMatrix |
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 |
getLeadingDiagonal()
Returns a vector view of the leading diagonal values of the matrix
|
ZeroMatrix |
getTranspose()
Returns a transposed version of this matrix.
|
int |
hashCode() |
AMatrix |
innerProduct(AMatrix m) |
int |
inputDimensions()
Returns the number of dimensions required for input vectors
|
boolean |
isBoolean()
Returns true if the array is boolean (contains only 0.0 or 1.0 values)
|
boolean |
isDiagonal()
Returns true iff a matrix is a square diagonal matrix
|
boolean |
isFullyMutable()
Returns true if the INDArray is fully mutable in all positions
i.e.
|
boolean |
isInvertible()
Returns true if this transform is invertible
|
boolean |
isLowerTriangular()
Returns true if a matrix is lower triangular
|
boolean |
isMutable()
Returns true if the INDArray is mutable (at least partially)
|
boolean |
isSymmetric()
Returns true if a matrix is symmetric
|
boolean |
isUpperTriangular()
Returns true if a matrix is upper triangular
|
boolean |
isZero()
Returns true if the matrix is the zero matrix (all components zero)
|
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 |
outputDimensions()
Returns the number of dimensions required for output vectors
|
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
|
double |
trace() |
void |
transform(AVector input,
AVector output)
Transforms the source vector, storing the result in the given destination vector
|
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.
|
abs, add, add, add, add, add, addAt, addMultiple, addRowMultiple, applyOp, applyOp, asDoubleArray, asElementList, bandIndex, bandLength, bandLength, bandPosition, broadcast, broadcastCloneLike, broadcastLike, broadcastLike, calculateElement, clamp, cloneRow, compose, copyOfMatrix, copyOfTranslationVector, copyTo, dimensionality, divide, divide, elementCount, elementDiv, elementIterator, elementSquaredSum, ensureMutable, epsilonEquals, epsilonEquals, epsilonEquals, equals, equals, equals, exp, fill, get, get, get, getBand, getBandWrapped, getColumn, getElements, getLongShape, getMatrixComponent, getRow, getShape, getShape, getSlices, getSliceViews, getTransposeCopy, getTransposeView, hasOrthonormalColumns, hassOrthonormalRows, innerProduct, innerProduct, innerProduct, innerProduct, innerProduct, inverse, isElementConstrained, isHermitian, isIdentity, isOrthogonal, isPositiveDefinite, isRectangularDiagonal, isSameShape, isSameShape, isSquare, isView, iterator, log, lowerBandwidth, lowerBandwidthLimit, mul, multiply, multiplyRow, negate, outerProduct, 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, toVector, transform, transform, transform, transformInPlace, transformInPlace, transposeInnerProduct, transposeInnerProduct, transposeInPlace, upperBandwidth, upperBandwidthLimit, validategetTranslationComponent, isLinearcompose, transformNormaltakeComponents, takeComponents, takeComponentspublic boolean isFullyMutable()
INDArrayisFullyMutable in interface INDArrayisFullyMutable in class ABooleanMatrixpublic boolean isMutable()
INDArraypublic int inputDimensions()
ATransforminputDimensions in interface ITransforminputDimensions in class AMatrixpublic boolean isSymmetric()
AMatrixisSymmetric in class AMatrixpublic boolean isDiagonal()
AMatrixisDiagonal in class AMatrixpublic boolean isUpperTriangular()
AMatrixisUpperTriangular in class AMatrixpublic boolean isLowerTriangular()
AMatrixisLowerTriangular in class AMatrixpublic boolean isBoolean()
INDArrayisBoolean in interface INDArrayisBoolean in class ABooleanMatrixpublic void multiply(double factor)
INDArraypublic void copyRowTo(int row,
double[] dest,
int destOffset)
public void copyColumnTo(int col,
double[] dest,
int destOffset)
copyColumnTo in class AMatrixpublic int outputDimensions()
ATransformoutputDimensions in interface ITransformoutputDimensions in class AMatrixpublic int rowCount()
AMatrixpublic int columnCount()
AMatrixcolumnCount in interface IMatrixcolumnCount in class AMatrixpublic double determinant()
AMatrixdeterminant in class AMatrixpublic double calculateElement(int i,
AVector v)
ATransformcalculateElement 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)
AMatrixpublic void unsafeSet(int row,
int column,
double value)
AMatrixpublic AMatrix clone()
ATransformpublic boolean isZero()
AMatrixpublic double elementSum()
AMatrixelementSum in interface INDArrayelementSum in class AMatrixpublic long nonZeroCount()
INDArraynonZeroCount in interface INDArraynonZeroCount in class AMatrixpublic void transform(AVector input, AVector output)
ATransformtransform in interface ITransformtransform in class AMatrixpublic boolean isInvertible()
ATransformisInvertible in class AMatrixpublic AVector asVector()
AMatrixpublic AMatrix compose(ATransform t)
ATransformpublic AMatrix innerProduct(AMatrix m)
innerProduct in class AMatrixpublic void composeWith(ATransform t)
ATransformcomposeWith in class AMatrixpublic void composeWith(AMatrix t)
composeWith in class AMatrixpublic void elementMul(AMatrix m)
AMatrixelementMul in class AMatrixpublic ZeroMatrix getTranspose()
AMatrixgetTranspose in interface INDArraygetTranspose in class AMatrixpublic static ZeroMatrix create(int rows, int columns)
public AVector getLeadingDiagonal()
AMatrixgetLeadingDiagonal in class AMatrixpublic ZeroMatrix exactClone()
INDArrayexactClone in interface INDArrayexactClone in class AMatrixCopyright © 2013. All Rights Reserved.