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, viewPart
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
asArray, labeled
getAttribute, hasAttribute, removeAttribute, setAttribute
public 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 Vector
copy
in class AbstractVector
public 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 Externalizable
writeExternal
in class AbstractVector
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class AbstractVector
IOException
ClassNotFoundException
public int hashCode()
hashCode
in class AbstractVector
public boolean equals(Object o)
equals
in class AbstractVector
GridGain In-Memory Computing Platform : ver. 8.9.19 Release Date : April 10 2025