Package | Description |
---|---|
dev.nm.algebra.linear.matrix.doubles.matrixtype.sparse | |
dev.nm.algebra.linear.matrix.doubles.operation | |
dev.nm.algebra.linear.vector.doubles.operation |
Modifier and Type | Method and Description |
---|---|
SparseVector |
SparseVector.add(SparseVector that) |
SparseVector |
SparseVector.deepCopy() |
SparseVector |
LILSparseMatrix.getColumn(int j) |
SparseVector |
DOKSparseMatrix.getColumn(int j) |
SparseVector |
CSRSparseMatrix.getColumn(int j) |
SparseVector |
LILSparseMatrix.getRow(int i) |
SparseVector |
DOKSparseMatrix.getRow(int i) |
SparseVector |
CSRSparseMatrix.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() |
Modifier and Type | Method and Description |
---|---|
SparseVector |
SparseVector.add(SparseVector that) |
double |
SparseVector.innerProduct(SparseVector that) |
SparseVector |
SparseVector.minus(SparseVector that) |
SparseVector |
SparseVector.multiply(SparseVector that) |
Constructor and Description |
---|
SparseVector(SparseVector that)
Copy constructor.
|
Modifier and Type | Method and 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.
|
Modifier and Type | Class and Description |
---|---|
class |
Basis
A basis is a set of linearly independent vectors spanning a vector space.
|
Modifier and Type | Method and 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.
|
Modifier and Type | Method and 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.
|
Copyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.