public class VectorView extends AbstractVector
Vector.Vector.Element| Constructor and Description |
|---|
VectorView()
Constructor for
Externalizable interface. |
VectorView(Vector parent,
int off,
int len) |
VectorView(VectorStorage sto,
int off,
int len) |
| Modifier and Type | Method and Description |
|---|---|
Vector |
copy()
Creates new copy of this vector.
|
boolean |
equals(Object o) |
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.
|
all, allSpliterator, assign, assign, assign, assign, checkCardinality, checkCardinality, checkCardinality, checkIndex, compute, cross, destroy, divide, dot, dotSelf, foldMap, foldMap, get, getDistanceSquared, getElement, getLengthSquared, getMetaStorage, getStorage, getX, guid, hashCode, increment, incrementX, isArrayBased, isDense, isDistributed, isRandomAccess, isSequentialAccess, isZero, kNorm, logNormalize, logNormalize, makeElement, map, map, map, maxElement, maxValue, minElement, minus, minValue, nonZeroElements, nonZeroes, nonZeroSpliterator, normalize, normalize, plus, plus, readExternal, set, setStorage, setX, size, sort, storageGet, storageSet, sum, times, times, toMatrix, toMatrixPlusOne, viewPart, writeExternalclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetAttribute, hasAttribute, removeAttribute, setAttributepublic VectorView()
Externalizable interface.public VectorView(Vector parent, int off, int len)
parent - Backing parent Vector.off - Offset to parent vector.len - Size of the view.public VectorView(VectorStorage sto, int off, int len)
sto - Backing parent VectorStorage.off - Offset to parent vector.len - Size of 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 boolean equals(Object o)
equals in class AbstractVector
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.5 Release Date : June 4 2019