Package | Description |
---|---|
gov.sandia.cognition.math.matrix.mtj |
Provides a linear algebra package implementation wrapper using the Matrix
Toolkits for Java (MTJ) library.
|
Modifier and Type | Class and Description |
---|---|
class |
DenseVector
A generally useful vector representation that allocates a fixed-size
underlying vector, based on MTJ's DenseVector
|
class |
SparseVector
A vector that only stores the nonzero elements, relies on MTJ's
SparseVector.
|
class |
Vector1
Implements a one-dimensional MTJ
DenseVector . |
class |
Vector2
Implements a two-dimensional MTJ
DenseVector . |
class |
Vector3
Implements a three-dimensional
DenseVector . |
Modifier and Type | Method and Description |
---|---|
AbstractMTJVector |
AbstractMTJVector.clone() |
abstract AbstractMTJVector |
AbstractMTJMatrix.times(AbstractMTJVector vector)
Returns the column vector from the equation
return = this * vector
|
AbstractMTJVector |
DiagonalMatrixMTJ.times(AbstractMTJVector vector) |
Modifier and Type | Method and Description |
---|---|
double |
AbstractMTJVector.dotProduct(AbstractMTJVector other)
Inner Vector product between two Vectors
|
void |
AbstractMTJVector.minusEquals(AbstractMTJVector other)
Inline subtraction of the elements of other from the elements of this
|
abstract AbstractMTJMatrix |
AbstractMTJVector.outerProduct(AbstractMTJVector other)
Computes the outer matrix product between the two vectors
|
DenseMatrix |
DenseVector.outerProduct(AbstractMTJVector other) |
SparseRowMatrix |
SparseVector.outerProduct(AbstractMTJVector other) |
void |
AbstractMTJVector.plusEquals(AbstractMTJVector other)
Inline addition of this and the other vector
|
void |
AbstractMTJVector.scaledMinusEquals(double scaleFactor,
AbstractMTJVector other)
Subtracts from this vector the scaled version of the other given vector.
|
void |
AbstractMTJVector.scaledPlusEquals(double scaleFactor,
AbstractMTJVector other)
Adds to this vector the scaled version of the other given vector.
|
Vector |
AbstractMTJMatrix.solve(AbstractMTJVector b)
Solves for "x" in the equation: this*x = b
|
SparseVector |
AbstractSparseMatrix.solve(AbstractMTJVector b)
This sparse-vector solver performs iterative solving for "x" in the
equation: this*x = b, and the AbstractSparseMatrix "this" can be
unstructured (e.g., asymmetric, indefinite, etc.)
|
Vector |
DiagonalMatrixMTJ.solve(AbstractMTJVector b) |
abstract AbstractMTJVector |
AbstractMTJMatrix.times(AbstractMTJVector vector)
Returns the column vector from the equation
return = this * vector
|
SparseVector |
AbstractSparseMatrix.times(AbstractMTJVector vector) |
DenseVector |
DenseMatrix.times(AbstractMTJVector vector) |
AbstractMTJVector |
DiagonalMatrixMTJ.times(AbstractMTJVector vector) |
protected void |
AbstractMTJMatrix.timesInto(AbstractMTJVector multiplicationVector,
AbstractMTJVector destinationVector)
Internal function call that stores the result of a matrix multiply
into the given destinationVector.
|
Constructor and Description |
---|
DenseVector(AbstractMTJVector vector)
Copy constructor
|