public abstract class AStridedMatrix extends AArrayMatrix implements IStridedArray
cols, data, rows| Modifier | Constructor and Description |
|---|---|
protected |
AStridedMatrix(double[] data,
int rows,
int cols) |
| Modifier and Type | Method and Description |
|---|---|
abstract int |
columnStride() |
abstract int |
getArrayOffset() |
AVector |
getColumn(int i)
Returns a column of the matrix as a vector view
|
AVector |
getRow(int i)
Returns a row of the matrix as a vector view
|
int |
getStride(int dimension) |
int[] |
getStrides() |
abstract int |
rowStride() |
AStridedMatrix |
subMatrix(int rowStart,
int rows,
int colStart,
int cols) |
columnCount, get, getArray, index, isPackedArray, rowCount, set, unsafeGet, unsafeSetabs, add, add, add, add, addAt, addMultiple, addRowMultiple, applyOp, applyOp, asElementList, asVector, broadcast, calculateElement, calculateElement, clamp, clone, cloneRow, compose, compose, composeWith, composeWith, copyOfMatrix, copyOfTranslationVector, copyTo, determinant, dimensionality, elementCount, elementIterator, elementMul, elementSquaredSum, elementSum, ensureMutable, epsilonEquals, epsilonEquals, epsilonEquals, equals, equals, equals, equals, exactClone, exp, fill, get, get, get, getElements, getLeadingDiagonal, getLongShape, getMatrixComponent, getShape, getShape, getSlices, getSliceViews, getTranspose, getTransposeView, hashCode, hasOrthonormalColumns, hassOrthonormalRows, innerProduct, innerProduct, innerProduct, innerProduct, innerProduct, inputDimensions, inverse, isBoolean, isDiagonal, isElementConstrained, isFullyMutable, isHermitian, isIdentity, isInvertible, isLowerTriangular, isMutable, isOrthogonal, isPositiveDefinite, isRectangularDiagonal, isSquare, isSymmetric, isUpperTriangular, isView, isZeroMatrix, iterator, log, 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, swapColumns, swapRows, toAffineTransform, toArray, toDoubleArray, toDoubleBuffer, toMatrix, toMutableMatrix, toString, toVector, trace, transform, transformInPlace, transformInPlace, transposeInPlace, validategetTranslationComponent, isLinearcompose, transformNormaltakeComponents, takeComponents, takeComponents, transformfinalize, getClass, notify, notifyAll, wait, wait, waitgetArray, getShapeabs, add, add, applyOp, applyOp, asElementList, asVector, broadcast, clamp, clone, copyTo, dimensionality, elementCount, elementIterator, elementSquaredSum, elementSum, ensureMutable, epsilonEquals, epsilonEquals, equals, exactClone, exp, fill, get, get, get, get, getElements, getLongShape, getShape, getSlices, getSliceViews, getTranspose, getTransposeView, innerProduct, isBoolean, isElementConstrained, isFullyMutable, isMutable, isView, 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 IStridedArraypublic abstract int rowStride()
public abstract int columnStride()
public AStridedMatrix subMatrix(int rowStart, int rows, int colStart, int cols)
public AVector getRow(int i)
AMatrixpublic AVector getColumn(int i)
AMatrixpublic int[] getStrides()
getStrides in interface IStridedArraypublic int getStride(int dimension)
getStride in interface IStridedArrayCopyright © 2013. All Rights Reserved.