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 |
---|---|
DenseVector |
DenseVector.clone() |
DenseVector |
CustomDenseVectorFactory.copyVector(Vector m) |
DenseVector |
CustomDenseVectorFactory.createVector(int dim) |
DenseVector |
CustomDenseVectorFactory.createVectorCapacity(int dimensionality,
int initialCapacity) |
Modifier and Type | Method and Description |
---|---|
double |
DenseVector.dotProduct(DenseVector other) |
double |
SparseVector.dotProduct(DenseVector other) |
void |
DenseVector.dotTimesEquals(DenseVector other) |
void |
SparseVector.dotTimesEquals(DenseVector other) |
double |
DenseVector.euclideanDistanceSquared(DenseVector other) |
double |
SparseVector.euclideanDistanceSquared(DenseVector other) |
void |
DenseVector.minusEquals(DenseVector other) |
void |
SparseVector.minusEquals(DenseVector other)
Type-specific version of minusEquals for combining whatever type this is
with the input dense vector.
|
Matrix |
DenseVector.outerProduct(DenseVector other) |
Matrix |
SparseVector.outerProduct(DenseVector other) |
void |
DenseVector.plusEquals(DenseVector other) |
void |
SparseVector.plusEquals(DenseVector other)
Type-specific version of plusEquals for combining whatever type this is
with the input dense vector.
|
Vector |
DenseMatrix.preTimes(DenseVector vector) |
Vector |
DiagonalMatrix.preTimes(DenseVector vector) |
Vector |
SparseMatrix.preTimes(DenseVector vector)
Type-specific version of pre-times for combining whatever type this is
with the input dense vector.
|
void |
DenseVector.scaledPlusEquals(DenseVector other,
double scaleFactor) |
void |
SparseVector.scaledPlusEquals(DenseVector other,
double scaleFactor)
Type-specific version of scaledPlusEquals for combining whatever type
this is with the input dense vector.
|
Vector |
DenseVector.stack(DenseVector other) |
Vector |
SparseVector.stack(DenseVector other) |
Vector |
DenseMatrix.times(DenseVector vector) |
Vector |
DiagonalMatrix.times(DenseVector vector) |
Vector |
ParallelSparseMatrix.times(DenseVector vector)
Type-specific version of times for combining whatever type this is with
the input dense vector.
|
Vector |
SparseMatrix.times(DenseVector vector)
Type-specific version of times for combining whatever type this is with
the input dense vector.
|
Constructor and Description |
---|
DenseVector(DenseVector v)
Copy constructor copies the input dense vector into this
|
SparseVector(DenseVector v)
Copy constructor -- creates a deep copy of the input sparse vector.
|