## Package org.apache.mahout.math

Core base classes; Operations on primitive arrays such as sorting, partitioning and permuting.

See:
Description

Interface Summary
Matrix: The basic interface including numerous convenience functions
Vector: The basic interface including numerous convenience functions NOTE: All implementing classes must have a constructor that takes an int for cardinality and a no-arg constructor that can be used for marshalling the Writable instance NOTE: Implementations may choose to reuse the Vector.Element in the Iterable methods
Vector.Element: A holder for information about a specific item in the Vector.
VectorIterable

Class Summary
AbstractMatrix: A few universal implementations of convenience functions
AbstractVector: Implementations of generic capabilities like sum of elements and dot products
Algebra
DenseMatrix: Matrix of doubles implemented using a 2-d array
DenseVector: Implements vector as an array of doubles
GenericPermuting: Deprecated. until unit tests are in place.
JsonMatrixAdapter
JsonVectorAdapter
MatrixSlice
MatrixVectorView: Provides a virtual vector that is really a row or column or diagonal of a matrix.
MatrixView: Implements subset view of a Matrix
NamedVector
OrthonormalityVerifier
QRDecomposition: partially deprecated until unit tests are in place.
RandomAccessSparseVector: Implements vector that only stores non-zero doubles
SequentialAccessSparseVector: Implements vector that only stores non-zero doubles as a pair of parallel arrays (OrderedIntDoubleMapping), one int[], one double[].
SingularValueDecomposition
SparseColumnMatrix: sparse matrix with general element values whose columns are accessible quickly.
SparseMatrix: Doubly sparse matrix.
SparseRowMatrix: sparse matrix with general element values whose rows are accessible quickly.
VectorList: Provides a very flexible matrix that is based on a simple list of vectors.
VectorList.JsonVectorListAdapter
VectorView: Implements subset view of a Vector

Exception Summary
CardinalityException: Exception thrown when there is a cardinality mismatch in matrix or vector operations.
IndexException: Exception thrown when a matrix or vector is accessed at an index, or dimension, which does not logically exist in the entity.
UnboundLabelException: Exception thrown when there is a cardinality mismatch in matrix operations

## Package org.apache.mahout.math Description

Core base classes; Operations on primitive arrays such as sorting, partitioning and permuting.

Copyright © 2008-2010 The Apache Software Foundation. All Rights Reserved.