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 |
---|---|
Vector |
AbstractVector.transform(Vector.IndexValueTransform function) |
Vector |
Vector.transform(Vector.IndexValueTransform function)
Applies the given function to each of the elements of this vector and
returns a new vector with the result.
|
void |
AbstractVector.transformEquals(Vector.IndexValueTransform function) |
void |
Vector.transformEquals(Vector.IndexValueTransform function)
Applies the given function to each of the elements of this vector and
sets them to the result.
|
Vector |
AbstractVector.transformNonZeros(Vector.IndexValueTransform function) |
Vector |
Vector.transformNonZeros(Vector.IndexValueTransform function)
Applies the given function to each of the non-zero elements of this
vector and returns a new vector with the result.
|
void |
AbstractVector.transformNonZerosEquals(Vector.IndexValueTransform function) |
void |
Vector.transformNonZerosEquals(Vector.IndexValueTransform function)
Applies the given function to each of the non-zero elements of this
vector and sets them to the result.
|
Modifier and Type | Method and Description |
---|---|
void |
DenseVector.transformEquals(Vector.IndexValueTransform function) |
void |
DenseVector.transformNonZerosEquals(Vector.IndexValueTransform function) |
void |
SparseVector.transformNonZerosEquals(Vector.IndexValueTransform function) |