Uses of Class
org.la4j.vector.SparseVector
-
Packages that use SparseVector Package Description org.la4j org.la4j.operation org.la4j.operation.ooplace org.la4j.vector org.la4j.vector.sparse -
-
Uses of SparseVector in org.la4j
Methods in org.la4j that return SparseVector Modifier and Type Method Description SparseVector
Vector. toSparseVector()
Converts this vector into aSparseVector
. -
Uses of SparseVector in org.la4j.operation
Methods in org.la4j.operation with parameters of type SparseVector Modifier and Type Method Description R
CommonVectorOperation. apply(SparseVector a)
R
CommonVectorVectorOperation. apply(DenseVector a, SparseVector b)
R
CommonVectorVectorOperation. apply(SparseVector a, DenseVector b)
R
CommonVectorVectorOperation. apply(SparseVector a, SparseVector b)
abstract R
MatrixVectorOperation. apply(ColumnMajorSparseMatrix a, SparseVector b)
abstract R
MatrixVectorOperation. apply(DenseMatrix a, SparseVector b)
abstract R
MatrixVectorOperation. apply(RowMajorSparseMatrix a, SparseVector b)
R
SymmetricVectorVectorOperation. apply(DenseVector a, SparseVector b)
R
SymmetricVectorVectorOperation. apply(SparseVector a, DenseVector b)
abstract R
VectorMatrixOperation. apply(SparseVector a, ColumnMajorSparseMatrix b)
abstract R
VectorMatrixOperation. apply(SparseVector a, DenseMatrix b)
abstract R
VectorMatrixOperation. apply(SparseVector a, RowMajorSparseMatrix b)
abstract R
VectorOperation. apply(SparseVector a)
abstract R
VectorVectorOperation. apply(DenseVector a, SparseVector b)
abstract R
VectorVectorOperation. apply(SparseVector a, DenseVector b)
abstract R
VectorVectorOperation. apply(SparseVector a, SparseVector b)
abstract R
SymmetricVectorVectorOperation. applySymmetric(DenseVector a, SparseVector b)
MatrixOperation<R>
VectorMatrixOperation. partiallyApply(SparseVector a)
VectorOperation<R>
VectorVectorOperation. partiallyApply(SparseVector a)
-
Uses of SparseVector in org.la4j.operation.ooplace
Methods in org.la4j.operation.ooplace with parameters of type SparseVector Modifier and Type Method Description java.lang.Double
OoPlaceInnerProduct. apply(SparseVector a, SparseVector b)
Vector
OoPlaceMatrixByVectorMultiplication. apply(ColumnMajorSparseMatrix a, SparseVector b)
Vector
OoPlaceMatrixByVectorMultiplication. apply(DenseMatrix a, SparseVector b)
Vector
OoPlaceMatrixByVectorMultiplication. apply(RowMajorSparseMatrix a, SparseVector b)
Matrix
OoPlaceOuterProduct. apply(DenseVector a, SparseVector b)
Matrix
OoPlaceOuterProduct. apply(SparseVector a, DenseVector b)
Matrix
OoPlaceOuterProduct. apply(SparseVector a, SparseVector b)
Vector
OoPlaceVectorByMatrixMultiplication. apply(SparseVector a, ColumnMajorSparseMatrix b)
Vector
OoPlaceVectorByMatrixMultiplication. apply(SparseVector a, DenseMatrix b)
Vector
OoPlaceVectorByMatrixMultiplication. apply(SparseVector a, RowMajorSparseMatrix b)
Vector
OoPlaceVectorHadamardProduct. apply(SparseVector a, SparseVector b)
Vector
OoPlaceVectorsAddition. apply(SparseVector a, SparseVector b)
Vector
OoPlaceVectorsSubtraction. apply(DenseVector a, SparseVector b)
Vector
OoPlaceVectorsSubtraction. apply(SparseVector a, DenseVector b)
Vector
OoPlaceVectorsSubtraction. apply(SparseVector a, SparseVector b)
java.lang.Double
OoPlaceInnerProduct. applySymmetric(DenseVector a, SparseVector b)
Vector
OoPlaceVectorHadamardProduct. applySymmetric(DenseVector a, SparseVector b)
Vector
OoPlaceVectorsAddition. applySymmetric(DenseVector a, SparseVector b)
-
Uses of SparseVector in org.la4j.vector
Methods in org.la4j.vector that return SparseVector Modifier and Type Method Description static SparseVector
SparseVector. fromArray(double[] array)
Creates a newSparseVector
from the givenarray
with compressing (copying) the underlying array.static SparseVector
SparseVector. fromCollection(java.util.Collection<? extends java.lang.Number> list)
Creates newSparseVector
from collectionstatic SparseVector
SparseVector. fromCSV(java.lang.String csv)
ParsesSparseVector
from the given CSV string.static SparseVector
SparseVector. fromMap(java.util.Map<java.lang.Integer,? extends java.lang.Number> map, int length)
Creates newSparseVector
from given index-value mapstatic SparseVector
SparseVector. fromMatrixMarket(java.lang.String mm)
ParsesSparseVector
from the given Matrix Market string.static SparseVector
SparseVector. random(int length, double density, java.util.Random random)
static SparseVector
SparseVector. zero(int length)
Creates a zeroSparseVector
of the givenlength
.static SparseVector
SparseVector. zero(int length, int capacity)
-
Uses of SparseVector in org.la4j.vector.sparse
Subclasses of SparseVector in org.la4j.vector.sparse Modifier and Type Class Description class
CompressedVector
A basic sparse vector implementation using underlying value and index arrays.
-