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.COMPRESSEDstatic final VectorFactory<CompressedVector> Vectors.SPARSE -
Uses of CompressedVector in org.la4j.vector.sparse
Methods in org.la4j.vector.sparse that return CompressedVectorModifier and TypeMethodDescriptionstatic CompressedVectorCompressedVector.fromArray(double[] array) Creates a newCompressedVectorfrom the givenarraywith compressing (copying) the underlying array.static CompressedVectorCompressedVector.fromBinary(byte[] array) DecodesCompressedVectorfrom the given bytearray.static CompressedVectorCompressedVector.fromCollection(Collection<? extends Number> list) Creates newCompressedVectorfrom collectionstatic CompressedVectorParsesCompressedVectorfrom the given CSV string.static CompressedVectorCreates newCompressedVectorfrom index-value mapstatic CompressedVectorCompressedVector.fromMatrixMarket(String mm) ParsesCompressedVectorfrom the given Matrix Market string.static CompressedVectorstatic CompressedVectorCompressedVector.zero(int length) Creates a zeroCompressedVectorof the givenlength.static CompressedVectorCompressedVector.zero(int length, int capacity)