public class VectorizedViewMatrix extends AbstractVector
Vector.Element| Constructor and Description |
|---|
VectorizedViewMatrix() |
VectorizedViewMatrix(Matrix parent,
int row,
int col,
int rowStride,
int colStride) |
| Modifier and Type | Method and Description |
|---|---|
Vector |
copy()
Creates new copy of this vector.
|
boolean |
equals(Object o) |
int |
hashCode() |
Vector |
like(int crd)
Creates new empty vector of the same underlying class but of different cardinality.
|
Matrix |
likeMatrix(int rows,
int cols)
Creates new matrix of compatible flavor with given size.
|
void |
readExternal(ObjectInput in) |
void |
writeExternal(ObjectOutput out) |
all, allSpliterator, assign, assign, assign, assign, checkCardinality, checkCardinality, checkCardinality, checkIndex, compute, copyOfRange, cross, destroy, divide, dot, dotSelf, foldMap, foldMap, get, getDistanceSquared, getElement, getLengthSquared, getMetaStorage, getRaw, getRawX, getStorage, getX, guid, increment, incrementX, isArrayBased, isDense, isDistributed, isNumeric, isZero, kNorm, logNormalize, logNormalize, makeElement, map, map, map, maxElement, maxValue, minElement, minus, minValue, nonZeroElements, nonZeroes, nonZeroSpliterator, normalize, normalize, plus, plus, set, setRaw, setRawX, setStorage, setX, size, sort, storageGet, storageGetRaw, storageSet, storageSetRaw, sum, times, times, toMatrix, toMatrixPlusOne, viewPartclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitasArray, labeledgetAttribute, hasAttribute, removeAttribute, setAttributepublic VectorizedViewMatrix()
public VectorizedViewMatrix(Matrix parent, int row, int col, int rowStride, int colStride)
parent - Parent matrix.row - Starting row in the view.col - Starting column in the view.rowStride - Rows stride in the view.colStride - Columns stride in the view.public Vector copy()
copy in interface Vectorcopy in class AbstractVectorpublic Vector like(int crd)
crd - Cardinality for new vector.public Matrix likeMatrix(int rows, int cols)
rows - Number of rows.cols - Number of columns.public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizablewriteExternal in class AbstractVectorIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizablereadExternal in class AbstractVectorIOExceptionClassNotFoundExceptionpublic int hashCode()
hashCode in class AbstractVectorpublic boolean equals(Object o)
equals in class AbstractVector
GridGain In-Memory Computing Platform : ver. 8.9.15 Release Date : December 3 2024