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
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  
MatrixView Implements subset view of a Matrix
OrthonormalityVerifier  
Partitioning 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[].
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.
Timer Deprecated. until unit tests are in place.
VectorView Implements subset view of a Vector
 

Exception Summary
CardinalityException Exception thrown when there is a cardinality mismatch in matrix operations
IndexException Exception thrown when there is an index outside of [0, cardinality)
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.