public class QuadtreeMatrix extends ABlockMatrix implements ISparse
| Modifier and Type | Method and Description |
|---|---|
void |
add(double v)
Adds a double value to all elements in this array
|
void |
addAt(int row,
int column,
double value) |
int |
columnBlockCount() |
int |
columnCount()
Returns the number of columns in the matrix
|
void |
copyColumnTo(int col,
double[] data,
int offset) |
void |
copyRowTo(int row,
double[] data,
int offset) |
static QuadtreeMatrix |
create(AMatrix c00,
AMatrix c01,
AMatrix c10,
AMatrix c11) |
double |
density()
Computes the density ratio of this sparse array (proportion of non-zero elements)
|
double |
elementSum()
Returns the sum of all elements in the matrix
|
AMatrix |
exactClone()
Returns an exact deep clone of an array (i.e.
|
void |
fill(double v)
Fills the array with asingle double value
|
double |
get(int row,
int column)
Returns a specified element in the matrix
|
AMatrix |
getBlock(int rowBlock,
int colBlock) |
int |
getBlockColumnCount(int colBlock) |
int |
getBlockRowCount(int rowBlock) |
AVector |
getColumn(int col)
Returns a column of the matrix as a vector view
|
int |
getColumnBlockIndex(int col) |
AVector |
getRow(int row)
Returns a row of the matrix as a vector view
|
int |
getRowBlockIndex(int row) |
boolean |
isFullyMutable()
If this method returns true, the INDArray is guaranteed to be fully mutable
in all positions i.e.
|
long |
nonZeroCount()
Returns the number of non-zero elements in the array.
|
int |
rowBlockCount() |
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 |
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, addMultiple, addRowMultiple, applyOp, applyOp, asDoubleArray, asElementList, asVector, bandIndex, bandLength, bandLength, bandPosition, broadcast, broadcastCloneLike, broadcastLike, broadcastLike, calculateElement, calculateElement, clamp, clone, cloneRow, compose, compose, composeWith, composeWith, copyOfMatrix, copyOfTranslationVector, copyTo, determinant, dimensionality, divide, divide, elementCount, elementDiv, elementIterator, elementMul, elementSquaredSum, ensureMutable, epsilonEquals, epsilonEquals, epsilonEquals, equals, equals, equals, equals, exp, get, get, get, getBand, getBandWrapped, getElements, getLeadingDiagonal, getLongShape, getMatrixComponent, getShape, getShape, getShapeClone, getSlices, getSlices, getSliceViews, getTranspose, getTransposeCopy, getTransposeView, hashCode, hasOrthonormalColumns, hassOrthonormalRows, immutable, innerProduct, innerProduct, innerProduct, innerProduct, innerProduct, innerProduct, inputDimensions, inverse, isBoolean, isDiagonal, isElementConstrained, isHermitian, isIdentity, isInvertible, isLowerTriangular, isMutable, isOrthogonal, isPositiveDefinite, isRectangularDiagonal, isSameShape, isSameShape, isSquare, isSymmetric, isUpperTriangular, isView, isZero, iterator, join, log, lowerBandwidth, lowerBandwidthLimit, mul, multiply, multiply, multiplyRow, mutable, negate, outerProduct, outputDimensions, pow, reciprocal, reshape, reshape, rotateView, scale, scaleAdd, set, set, set, set, set, set, setColumn, setElements, setElements, setRow, signum, slice, slice, sliceCount, sqrt, square, sub, sub, sub, sub, sub, subArray, subMatrix, swapColumns, swapRows, toAffineTransform, toArray, toDoubleArray, toDoubleBuffer, toMatrix, toMatrixTranspose, toMutableMatrix, toString, toVector, trace, transform, transform, transform, transform, transformInPlace, transformInPlace, transposeInnerProduct, transposeInnerProduct, transposeInPlace, upperBandwidth, upperBandwidthLimit, validategetTranslationComponent, isLinearcompose, transformNormaltakeComponents, takeComponents, takeComponentspublic static QuadtreeMatrix create(AMatrix c00, AMatrix c01, AMatrix c10, AMatrix c11)
public boolean isFullyMutable()
INDArrayisFullyMutable in interface INDArrayisFullyMutable in class AMatrixpublic 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)
AMatrixpublic void unsafeSet(int row,
int column,
double value)
AMatrixpublic void copyRowTo(int row,
double[] data,
int offset)
public void copyColumnTo(int col,
double[] data,
int offset)
copyColumnTo in class AMatrixpublic long nonZeroCount()
INDArraynonZeroCount in interface INDArraynonZeroCount in class AMatrixpublic double elementSum()
AMatrixelementSum in interface INDArrayelementSum in class AMatrixpublic void fill(double v)
INDArraypublic void add(double v)
INDArraypublic AVector getRow(int row)
AMatrixpublic AVector getColumn(int col)
AMatrixpublic AMatrix exactClone()
INDArrayexactClone in interface INDArrayexactClone in class AMatrixpublic double density()
ISparsepublic AMatrix getBlock(int rowBlock, int colBlock)
getBlock in class ABlockMatrixpublic int getBlockColumnCount(int colBlock)
getBlockColumnCount in class ABlockMatrixpublic int getBlockRowCount(int rowBlock)
getBlockRowCount in class ABlockMatrixpublic int getColumnBlockIndex(int col)
getColumnBlockIndex in class ABlockMatrixpublic int getRowBlockIndex(int row)
getRowBlockIndex in class ABlockMatrixpublic int columnBlockCount()
columnBlockCount in class ABlockMatrixpublic int rowBlockCount()
rowBlockCount in class ABlockMatrixCopyright © 2013. All Rights Reserved.