Package | Description |
---|---|
gov.sandia.cognition.math |
Provides classes for mathematical computation.
|
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.
|
gov.sandia.cognition.statistics |
Provides the inheritance hierarchy for general statistical methods and distributions.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractRing<RingType extends Ring<RingType>>
Implements the non-inline versions of the various Ring functions.
|
interface |
Ring<RingType extends Ring<RingType>>
Defines something similar to a mathematical ring.
|
class |
RingAccumulator<RingType extends Ring<RingType>>
The
RingAccumulator class implements a simple object that
is used to accumulate objects that implement the Ring interface. |
class |
RingAverager<RingType extends Ring<RingType>>
A type of Averager for Rings (Matrices, Vectors, ComplexNumbers).
|
class |
WeightedRingAverager<RingType extends Ring<RingType>>
A type of Summarizer for Rings (Matrices, Vectors, ComplexNumbers).
|
Modifier and Type | Interface and Description |
---|---|
interface |
EuclideanRing<RingType extends EuclideanRing<RingType>>
Defines something similar to a Euclidean ring from abstract algebra.
|
interface |
Field<FieldType extends Field<FieldType>>
Defines something similar to a mathematical field.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractEuclideanRing<RingType extends EuclideanRing<RingType>>
An abstract implementation of the
EuclideanRing interface. |
class |
AbstractField<FieldType extends Field<FieldType>>
An abstract implementation of the
Field interface. |
class |
AbstractRing<RingType extends Ring<RingType>>
Implements the non-inline versions of the various Ring functions.
|
class |
ComplexNumber
Represents a complex number in a rectangular manner, explicitly storing
the real and imaginary portions: real + j*imaginary
|
class |
LogNumber
Represents a number in log-space, storing the log of the absolute value
log(|value|) and the sign of the value sign(value).
|
class |
MutableDouble
A mutable object containing a double.
|
class |
MutableInteger
A mutable object containing an integer.
|
class |
MutableLong
A mutable object containing a long.
|
class |
UnsignedLogNumber
Represents an unsigned number in log space, storing log(value) and operating
directly on it.
|
Modifier and Type | Method and Description |
---|---|
static <RingType extends Ring<RingType>> |
MultivariateStatisticsUtil.computeMean(java.lang.Iterable<? extends RingType> data)
Computes the arithmetic mean (average, expectation, first central moment)
of a dataset
|
static <RingType extends Ring<RingType>> |
MultivariateStatisticsUtil.computeSum(java.lang.Iterable<? extends RingType> data)
Computes the arithmetic sum of the dataset
|
Modifier and Type | Interface and Description |
---|---|
interface |
DiagonalMatrix
Interface describing a diagonal matrix.
|
interface |
InfiniteVector<KeyType>
A Vector that has a potentially infinite number of indices (keys), but will
only contain a countable number in any instance.
|
interface |
Matrix
Defines the base functionality for all implementations of a Matrix
|
interface |
Vector
The
Vector interface defines the operations that are expected
on a mathematical vector. |
interface |
Vector1D
An interface for a 1-dimensional vector.
|
interface |
Vector2D
An interface for a 2-dimensional vector.
|
interface |
Vector3D
An interface for a 3-dimensional vector.
|
interface |
VectorSpace<VectorType extends VectorSpace<VectorType,?>,EntryType extends VectorSpace.Entry>
In the Foundry, a VectorSpace is a type of Ring that we can perform
Vector-like operations on: norm, distances between Vectors, etc.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractMatrix
Abstract implementation of some low-hanging functions in the Matrix
interface.
|
class |
AbstractVector
Abstract implementation of some of the Vector interface, in a storage-free
manner
|
class |
AbstractVectorSpace<VectorType extends VectorSpace<VectorType,? extends EntryType>,EntryType extends VectorSpace.Entry>
Partial implementation of VectorSpace
|
class |
DefaultInfiniteVector<KeyType>
An implementation of an
InfiniteVector backed by a
LinkedHashMap . |
Modifier and Type | Class and Description |
---|---|
class |
DenseMatrix
A dense matrix implementation.
|
class |
DenseVector
Our dense vector implementation.
|
class |
DiagonalMatrix
Diagonal matrices are a special case, but a rather common one with very quick
and simple solutions to multiplications, inverses, etc.
|
class |
ParallelSparseMatrix
A sparse matrix implementation.
|
class |
SparseMatrix
A sparse matrix implementation.
|
class |
SparseVector
Our sparse vector implementation.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractMTJMatrix
Relies on internal MTJ matrix to do some of the heavy lifting, without
assuming that the underlying matrix is Dense or Sparse
|
class |
AbstractMTJVector
Implementation of the Vector interface that relies on MTJ Vectors, but does
not specify sparse or dense storage.
|
class |
AbstractSparseMatrix
Implements some generic operations that any sparse-matrix representation
must do.
|
class |
DiagonalMatrixMTJ
A diagonal matrix that wraps MTJ's BandMatrix class.
|
class |
SparseColumnMatrix
A sparse matrix, represented as a collection of sparse column vectors.
|
class |
SparseRowMatrix
A sparse matrix, represented as a collection of sparse row vectors.
|
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 | Interface and Description |
---|---|
interface |
RandomVariable<DataType>
Describes the functionality of a random variable.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractRandomVariable<DataType>
Partial implementation of RandomVariable.
|
class |
UnivariateRandomVariable
This is an implementation of a RandomVariable for scalar distributions.
|