Package | Description |
---|---|
gov.sandia.cognition.math.matrix |
Provides interfaces and classes for linear algebra.
|
gov.sandia.cognition.math.matrix.mtj |
Provides a linear algebra package implementation wrapper using the Matrix
Toolkits for Java (MTJ) library.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractVector.forEachElement(Vector.IndexValueConsumer consumer) |
void |
Vector.forEachElement(Vector.IndexValueConsumer consumer)
Applies the given function to each element in this vector.
|
void |
AbstractVector.forEachEntry(Vector.IndexValueConsumer consumer) |
void |
Vector.forEachEntry(Vector.IndexValueConsumer consumer)
Applies the given function to each active entry in this vector.
|
void |
AbstractVector.forEachNonZero(Vector.IndexValueConsumer consumer) |
void |
Vector.forEachNonZero(Vector.IndexValueConsumer consumer)
Applies the given function to each non-zero entry in this vector.
|
Modifier and Type | Method and Description |
---|---|
void |
DenseVector.forEachElement(Vector.IndexValueConsumer consumer) |
void |
SparseVector.forEachElement(Vector.IndexValueConsumer consumer) |
void |
DenseVector.forEachEntry(Vector.IndexValueConsumer consumer) |
void |
SparseVector.forEachEntry(Vector.IndexValueConsumer consumer) |
void |
DenseVector.forEachNonZero(Vector.IndexValueConsumer consumer) |
void |
SparseVector.forEachNonZero(Vector.IndexValueConsumer consumer) |