Uses of Class
org.la4j.vector.sparse.CompressedVector
Packages that use CompressedVector
-
Uses of CompressedVector in org.la4j
Fields in org.la4j with type parameters of type CompressedVectorModifier and TypeFieldDescriptionstatic final VectorFactory
<CompressedVector> Vectors.COMPRESSED
static final VectorFactory
<CompressedVector> Vectors.SPARSE
-
Uses of CompressedVector in org.la4j.vector.sparse
Methods in org.la4j.vector.sparse that return CompressedVectorModifier and TypeMethodDescriptionstatic CompressedVector
CompressedVector.fromArray
(double[] array) Creates a newCompressedVector
from the givenarray
with compressing (copying) the underlying array.static CompressedVector
CompressedVector.fromBinary
(byte[] array) DecodesCompressedVector
from the given bytearray
.static CompressedVector
CompressedVector.fromCollection
(Collection<? extends Number> list) Creates newCompressedVector
from collectionstatic CompressedVector
ParsesCompressedVector
from the given CSV string.static CompressedVector
Creates newCompressedVector
from index-value mapstatic CompressedVector
CompressedVector.fromMatrixMarket
(String mm) ParsesCompressedVector
from the given Matrix Market string.static CompressedVector
static CompressedVector
CompressedVector.zero
(int length) Creates a zeroCompressedVector
of the givenlength
.static CompressedVector
CompressedVector.zero
(int length, int capacity)