Package | Description |
---|---|
gov.sandia.cognition.math.matrix |
Provides interfaces and classes for linear algebra.
|
gov.sandia.cognition.math.matrix.custom |
Provides a custom linear algebra package implementation for both dense
and sparse classes.
|
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 |
---|---|
Vector2D |
VectorFactory.createVector2D()
Creates a two-dimensional zero vector: (0.0, 0.0).
|
abstract Vector2D |
VectorFactory.createVector2D(double x,
double y)
Creates a two-dimensional vector with the given x and y coordinates:
(x, y).
|
Modifier and Type | Method and Description |
---|---|
Vector2D |
CustomDenseVectorFactory.createVector2D(double x,
double y) |
Vector2D |
CustomSparseVectorFactory.createVector2D(double x,
double y)
Creates a two-dimensional vector with the given x and y coordinates:
(x, y).
|
Modifier and Type | Class and Description |
---|---|
class |
Vector2
Implements a two-dimensional MTJ
DenseVector . |
Constructor and Description |
---|
Vector2(Vector2D other)
Creates a new instance of Vector2 wi th values copied from the given
vector.
|