public abstract class ADenseArrayMatrix extends AStridedMatrix
cols, data, rows| Modifier | Constructor and Description |
|---|---|
protected |
ADenseArrayMatrix(double[] data,
int rows,
int cols) |
| Modifier and Type | Method and Description |
|---|---|
int |
columnStride() |
abstract int |
getArrayOffset() |
protected int |
index(int row,
int col)
Computes the index into the data array for a given position in the matrix
|
boolean |
isPackedArray()
Returns true if the data array is fully packed by this matrix in row-major order
|
int |
rowStride() |
double |
unsafeGet(int i,
int j)
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 i,
int j,
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.
|
asDoubleArray, getColumn, getRow, getStride, getStrides, getTransposeView, subMatrixcolumnCount, get, getArray, rowCount, setabs, add, add, add, add, add, addAt, addMultiple, addRowMultiple, applyOp, applyOp, asElementList, asVector, 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, elementSum, ensureMutable, epsilonEquals, epsilonEquals, epsilonEquals, equals, equals, equals, equals, exactClone, exp, fill, get, get, get, getBand, getBandWrapped, getElements, getLeadingDiagonal, getLongShape, getMatrixComponent, getShape, getShape, getSlices, getSliceViews, getTranspose, getTransposeCopy, 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, multiply, multiplyRow, negate, nonZeroCount, 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, 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, takeComponentsfinalize, getClass, notify, notifyAll, wait, wait, waitgetArray, getShapeabs, add, add, applyOp, applyOp, asElementList, asVector, broadcast, broadcastCloneLike, broadcastLike, clamp, clone, copyTo, dimensionality, divide, divide, elementCount, elementIterator, elementSquaredSum, elementSum, ensureMutable, epsilonEquals, epsilonEquals, equals, exactClone, exp, fill, get, get, get, get, getElements, getLongShape, getShape, getSlices, getSliceViews, getTranspose, getTransposeCopy, innerProduct, isBoolean, isElementConstrained, isFullyMutable, isMutable, isSameShape, isView, isZero, log, multiply, multiply, negate, nonZeroCount, outerProduct, pow, reciprocal, reshape, scale, scaleAdd, set, set, set, set, set, set, setElements, setElements, signum, slice, slice, sliceCount, sqrt, square, sub, sub, toArray, toDoubleArray, toDoubleBuffer, toVector, validatepublic abstract int getArrayOffset()
getArrayOffset in interface IStridedArraygetArrayOffset in class AStridedMatrixpublic boolean isPackedArray()
AArrayMatrixisPackedArray in interface IStridedArrayisPackedArray in class AStridedMatrixpublic int rowStride()
rowStride in class AStridedMatrixpublic int columnStride()
columnStride in class AStridedMatrixpublic double unsafeGet(int i,
int j)
AMatrixunsafeGet in class AArrayMatrixpublic void unsafeSet(int i,
int j,
double value)
AMatrixunsafeSet in class AArrayMatrixprotected int index(int row,
int col)
AArrayMatrixindex in class AArrayMatrixCopyright © 2013. All Rights Reserved.