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  
CholeskyDecomposition Cholesky decomposition shamelessly ported from JAMA.
ConstantVector Implements a vector with all the same values.
DenseMatrix Matrix of doubles implemented using a 2-d array
DenseVector Implements vector as an array of doubles
DiagonalMatrix  
GenericPermuting Deprecated. until unit tests are in place.
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
MurmurHash This is a very fast, non-cryptographic hash suitable for general hash-based lookup.
MurmurHash3 This produces exactly the same hash values as the final C++ version of MurmurHash3 and is thus suitable for producing the same hash values across platforms.
NamedVector  
OrthonormalityVerifier  
PermutedVectorView Provides a permuted view of a vector.
PivotedMatrix Matrix that allows transparent row and column permutation.
QRDecomposition partially deprecated until unit tests are in place.
RandomAccessSparseVector Implements vector that only stores non-zero doubles
RandomTrinaryMatrix Random matrix.
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.
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.
 

Package org.apache.mahout.math Description

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



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