Package | Description |
---|---|
gov.sandia.cognition.math.matrix.custom |
Provides a custom linear algebra package implementation for both dense
and sparse classes.
|
Modifier and Type | Method and Description |
---|---|
SparseVector |
SparseVector.clone() |
SparseVector |
CustomSparseVectorFactory.copyVector(Vector m) |
SparseVector |
CustomSparseVectorFactory.createVector(int dim) |
SparseVector |
CustomSparseVectorFactory.createVectorCapacity(int dimensionality,
int initialCapacity) |
Modifier and Type | Method and Description |
---|---|
double |
DenseVector.dotProduct(SparseVector other) |
double |
SparseVector.dotProduct(SparseVector other) |
void |
DenseVector.dotTimesEquals(SparseVector other) |
void |
SparseVector.dotTimesEquals(SparseVector other) |
double |
DenseVector.euclideanDistanceSquared(SparseVector other) |
double |
SparseVector.euclideanDistanceSquared(SparseVector other) |
void |
DenseVector.minusEquals(SparseVector other) |
void |
SparseVector.minusEquals(SparseVector other) |
Matrix |
DenseVector.outerProduct(SparseVector other) |
Matrix |
SparseVector.outerProduct(SparseVector other) |
void |
DenseVector.plusEquals(SparseVector other) |
void |
SparseVector.plusEquals(SparseVector other) |
Vector |
DenseMatrix.preTimes(SparseVector vector) |
Vector |
DiagonalMatrix.preTimes(SparseVector vector) |
Vector |
SparseMatrix.preTimes(SparseVector vector)
Type-specific version of pre-times for combining whatever type this is
with the input sparse vector.
|
void |
DenseVector.scaledPlusEquals(SparseVector other,
double scaleFactor) |
void |
SparseVector.scaledPlusEquals(SparseVector other,
double scaleFactor) |
Vector |
DenseVector.stack(SparseVector other) |
Vector |
SparseVector.stack(SparseVector other) |
Vector |
DenseMatrix.times(SparseVector vector) |
Vector |
DiagonalMatrix.times(SparseVector vector) |
Vector |
ParallelSparseMatrix.times(SparseVector vector)
Type-specific version of times for combining whatever type this is with
the input sparse vector.
|
Vector |
SparseMatrix.times(SparseVector vector)
Type-specific version of times for combining whatever type this is with
the input sparse vector.
|
Constructor and Description |
---|
SparseVector(SparseVector v)
Copy constructor -- creates a deep copy of the input sparse vector.
|