public class SparseLocalOffHeapVector extends AbstractVector
Vector assuming sparse logic and local offheap JVM storage.
It is suitable for data sets where local, non-distributed execution is satisfactory and on-heap JVM storage
is not enough to keep the entire data set.
See also: Wikipedia article.
Vector.Element| Constructor and Description |
|---|
SparseLocalOffHeapVector(int crd) |
| Modifier and Type | Method and Description |
|---|---|
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, copy, cross, destroy, divide, dot, dotSelf, equals, 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 SparseLocalOffHeapVector(int crd)
crd - Vector cardinality.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.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.5.0 Release Date : May 23 2018