Uses of Class
dev.nm.algebra.linear.matrix.doubles.matrixtype.sparse.SparseVector
-
Packages that use SparseVector Package Description dev.nm.algebra.linear.matrix.doubles.matrixtype.sparse dev.nm.algebra.linear.matrix.doubles.operation dev.nm.algebra.linear.vector.doubles.operation -
-
Uses of SparseVector in dev.nm.algebra.linear.matrix.doubles.matrixtype.sparse
Methods in dev.nm.algebra.linear.matrix.doubles.matrixtype.sparse that return SparseVector Modifier and Type Method Description SparseVector
SparseVector. add(SparseVector that)
SparseVector
SparseVector. deepCopy()
SparseVector
CSRSparseMatrix. getColumn(int j)
SparseVector
DOKSparseMatrix. getColumn(int j)
SparseVector
LILSparseMatrix. getColumn(int j)
SparseVector
CSRSparseMatrix. getRow(int i)
SparseVector
DOKSparseMatrix. getRow(int i)
SparseVector
LILSparseMatrix. getRow(int i)
SparseVector
SparseVector. minus(SparseVector that)
SparseVector
SparseVector. multiply(SparseVector that)
SparseVector
SparseVector. multiply(Vector that)
SparseVector
SparseVector. opposite()
SparseVector
SparseVector. scaled(double c)
SparseVector
SparseVector. scaled(Real c)
SparseVector
SparseVector. ZERO()
Methods in dev.nm.algebra.linear.matrix.doubles.matrixtype.sparse with parameters of type SparseVector Modifier and Type Method Description SparseVector
SparseVector. add(SparseVector that)
double
SparseVector. innerProduct(SparseVector that)
SparseVector
SparseVector. minus(SparseVector that)
SparseVector
SparseVector. multiply(SparseVector that)
Constructors in dev.nm.algebra.linear.matrix.doubles.matrixtype.sparse with parameters of type SparseVector Constructor Description SparseVector(SparseVector that)
Copy constructor. -
Uses of SparseVector in dev.nm.algebra.linear.matrix.doubles.operation
Methods in dev.nm.algebra.linear.matrix.doubles.operation with parameters of type SparseVector Modifier and Type Method Description static SparseMatrix
MatrixFactory. cbind(SparseVector... vectors)
Combines an array of sparse vectors by columns and returns a CSR sparse matrix.static SparseMatrix
MatrixFactory. rbind(SparseVector... vectors)
Combines an array of sparse vectors by rows and returns a sparse matrix. -
Uses of SparseVector in dev.nm.algebra.linear.vector.doubles.operation
Subclasses of SparseVector in dev.nm.algebra.linear.vector.doubles.operation Modifier and Type Class Description class
Basis
A basis is a set of linearly independent vectors spanning a vector space.Methods in dev.nm.algebra.linear.vector.doubles.operation that return SparseVector Modifier and Type Method Description static SparseVector
VectorFactory. concat(SparseVector... vectors)
Concatenates an array of sparse vectors into one sparse vector.static SparseVector
VectorFactory. diagonal(SparseMatrix A)
Gets the diagonal of a sparse matrix as a sparse vector.static SparseVector
VectorFactory. foreach(SparseVector vector, UnivariateRealFunction f)
Constructs a new vector in which each entry is the result of applying a function to the corresponding entry of a sparse vector.static SparseVector
VectorFactory. subDiagonal(SparseMatrix A)
Gets the sub-diagonal of a sparse matrix as a sparse vector.static SparseVector
VectorFactory. subVector(SparseVector vector, int from, int to)
Gets a sub-vector from a sparse vector.static SparseVector
VectorFactory. superDiagonal(SparseMatrix A)
Gets the super-diagonal of a sparse matrix as a sparse vector.Methods in dev.nm.algebra.linear.vector.doubles.operation with parameters of type SparseVector Modifier and Type Method Description static SparseVector
VectorFactory. concat(SparseVector... vectors)
Concatenates an array of sparse vectors into one sparse vector.static SparseVector
VectorFactory. foreach(SparseVector vector, UnivariateRealFunction f)
Constructs a new vector in which each entry is the result of applying a function to the corresponding entry of a sparse vector.static SparseVector
VectorFactory. subVector(SparseVector vector, int from, int to)
Gets a sub-vector from a sparse vector.
-