A B C D E F G H I J L M N O P Q R S T U V Z

A

ABS - Static variable in class org.apache.mahout.math.function.Functions
Function that returns Math.abs(a).
AbstractContinousDistribution - Class in org.apache.mahout.math.jet.random
Abstract base class for all continuous distributions.
AbstractContinousDistribution() - Constructor for class org.apache.mahout.math.jet.random.AbstractContinousDistribution
 
AbstractDiscreteDistribution - Class in org.apache.mahout.math.jet.random
Abstract base class for all discrete distributions.
AbstractDiscreteDistribution() - Constructor for class org.apache.mahout.math.jet.random.AbstractDiscreteDistribution
Makes this class non instantiable, but still let's others inherit from it.
AbstractDistribution - Class in org.apache.mahout.math.jet.random
 
AbstractDistribution() - Constructor for class org.apache.mahout.math.jet.random.AbstractDistribution
Makes this class non instantiable, but still let's others inherit from it.
AbstractMatrix - Class in org.apache.mahout.math
A few universal implementations of convenience functions
AbstractMatrix(int, int) - Constructor for class org.apache.mahout.math.AbstractMatrix
 
AbstractMatrix - Class in org.apache.mahout.math.matrix.impl
Deprecated. until unit tests are in place. Until this time, this class/interface is unsupported.
AbstractMatrix() - Constructor for class org.apache.mahout.math.matrix.impl.AbstractMatrix
Deprecated. Makes this class non instantiable, but still let's others inherit from it.
AbstractMatrix.TransposeViewVector - Class in org.apache.mahout.math
 
AbstractMatrix.TransposeViewVector(Matrix, int) - Constructor for class org.apache.mahout.math.AbstractMatrix.TransposeViewVector
 
AbstractMatrix.TransposeViewVector(Matrix, int, boolean) - Constructor for class org.apache.mahout.math.AbstractMatrix.TransposeViewVector
 
AbstractMatrix1D - Class in org.apache.mahout.math.matrix.impl
Deprecated. until unit tests are in place. Until this time, this class/interface is unsupported.
AbstractMatrix1D() - Constructor for class org.apache.mahout.math.matrix.impl.AbstractMatrix1D
Deprecated. Makes this class non instantiable, but still let's others inherit from it.
AbstractMatrix2D - Class in org.apache.mahout.math.matrix.impl
Deprecated. until unit tests are in place. Until this time, this class/interface is unsupported.
AbstractMatrix2D() - Constructor for class org.apache.mahout.math.matrix.impl.AbstractMatrix2D
Deprecated. Makes this class non instantiable, but still let's others inherit from it.
AbstractVector - Class in org.apache.mahout.math
Implementations of generic capabilities like sum of elements and dot products
AbstractVector(int) - Constructor for class org.apache.mahout.math.AbstractVector
 
AbstractVector.LocalElement - Class in org.apache.mahout.math
 
ACOS - Static variable in class org.apache.mahout.math.function.Functions
Function that returns Math.acos(a).
add(double, double) - Method in class org.apache.mahout.math.stats.OnlineExponentialAverage
 
add(double) - Method in class org.apache.mahout.math.stats.OnlineSummarizer
 
addAll(Vector) - Method in class org.apache.mahout.math.DenseVector
 
aggregate(DoubleDoubleFunction, DoubleFunction) - Method in class org.apache.mahout.math.AbstractMatrix
Collects the results of a function applied to each element of a matrix and then aggregated.
aggregate(DoubleDoubleFunction, DoubleFunction) - Method in class org.apache.mahout.math.AbstractVector
 
aggregate(Vector, DoubleDoubleFunction, DoubleDoubleFunction) - Method in class org.apache.mahout.math.AbstractVector
 
aggregate(DoubleDoubleFunction, DoubleFunction) - Method in interface org.apache.mahout.math.Matrix
Collects the results of a function applied to each element of a matrix and then aggregated.
aggregate(DoubleDoubleFunction, DoubleFunction) - Method in class org.apache.mahout.math.matrix.DoubleMatrix1D
Deprecated. Applies a function to each cell and aggregates the results.
aggregate(DoubleMatrix1D, DoubleDoubleFunction, DoubleDoubleFunction) - Method in class org.apache.mahout.math.matrix.DoubleMatrix1D
Deprecated. Applies a function to each corresponding cell of two matrices and aggregates the results.
aggregate(DoubleDoubleFunction, DoubleFunction) - Method in class org.apache.mahout.math.matrix.DoubleMatrix2D
Deprecated. Applies a function to each cell and aggregates the results.
aggregate(DoubleMatrix2D, DoubleDoubleFunction, DoubleDoubleFunction) - Method in class org.apache.mahout.math.matrix.DoubleMatrix2D
Deprecated. Applies a function to each corresponding cell of two matrices and aggregates the results.
aggregate(DoubleDoubleFunction, DoubleFunction) - Method in class org.apache.mahout.math.NamedVector
 
aggregate(Vector, DoubleDoubleFunction, DoubleDoubleFunction) - Method in class org.apache.mahout.math.NamedVector
 
aggregate(DoubleDoubleFunction, DoubleFunction) - Method in interface org.apache.mahout.math.Vector
Examples speak louder than words: aggregate(plus, pow(2)) is another way to say getLengthSquared(), aggregate(max, abs) is norm(Double.POSITIVE_INFINITY).
aggregate(Vector, DoubleDoubleFunction, DoubleDoubleFunction) - Method in interface org.apache.mahout.math.Vector
Generalized inner product - take two vectors, iterate over them both, using the combiner to combine together (and possibly map in some way) each pair of values, which are then aggregated with the previous accumulated value in the combiner.
aggregateColumns(VectorFunction) - Method in class org.apache.mahout.math.AbstractMatrix
Collects the results of a function applied to each column of a matrix.
aggregateColumns(VectorFunction) - Method in interface org.apache.mahout.math.Matrix
Collects the results of a function applied to each column of a matrix.
aggregateRows(VectorFunction) - Method in class org.apache.mahout.math.AbstractMatrix
Collects the results of a function applied to each row of a matrix.
aggregateRows(VectorFunction) - Method in interface org.apache.mahout.math.Matrix
Collects the results of a function applied to each row of a matrix.
Algebra - Class in org.apache.mahout.math
 
AlternatingLeastSquaresSolver - Class in org.apache.mahout.math.als
See this paper.
AlternatingLeastSquaresSolver() - Constructor for class org.apache.mahout.math.als.AlternatingLeastSquaresSolver
 
apply(double, double) - Method in interface org.apache.mahout.math.function.DoubleDoubleFunction
Apply the function to the arguments and return the result
apply(double) - Method in interface org.apache.mahout.math.function.DoubleFunction
Apply the function to the argument and return the result
apply(int) - Method in interface org.apache.mahout.math.function.IntFunction
Applies a function to an argument.
apply(int, int, double) - Method in interface org.apache.mahout.math.function.IntIntDoubleFunction
Applies a function to three arguments.
apply(double) - Method in class org.apache.mahout.math.function.Mult
Returns the result of the function evaluation.
apply(double, double) - Method in class org.apache.mahout.math.function.PlusMult
Returns the result of the function evaluation.
apply(double) - Method in class org.apache.mahout.math.function.SquareRootFunction
 
apply(double, double) - Method in class org.apache.mahout.math.function.TimesFunction
Computes the product of two numbers.
apply(Vector) - Method in interface org.apache.mahout.math.function.VectorFunction
 
apply(double) - Method in class org.apache.mahout.math.jet.random.AbstractDistribution
Equivalent to nextDouble().
apply(int) - Method in class org.apache.mahout.math.jet.random.AbstractDistribution
Equivalent to nextInt().
apply(double) - Method in class org.apache.mahout.math.jet.random.engine.RandomEngine
Equivalent to raw().
apply(int) - Method in class org.apache.mahout.math.jet.random.engine.RandomEngine
Equivalent to nextInt().
Arithmetic - Class in org.apache.mahout.math.jet.math
Arithmetic functions.
asFormatString() - Method in class org.apache.mahout.math.AbstractMatrix
 
asFormatString() - Method in class org.apache.mahout.math.AbstractVector
 
asFormatString() - Method in interface org.apache.mahout.math.Matrix
 
asFormatString() - Method in class org.apache.mahout.math.NamedVector
 
asFormatString() - Method in interface org.apache.mahout.math.Vector
 
ASIN - Static variable in class org.apache.mahout.math.function.Functions
Function that returns Math.asin(a).
assign(double) - Method in class org.apache.mahout.math.AbstractMatrix
 
assign(double[][]) - Method in class org.apache.mahout.math.AbstractMatrix
 
assign(Matrix, DoubleDoubleFunction) - Method in class org.apache.mahout.math.AbstractMatrix
 
assign(Matrix) - Method in class org.apache.mahout.math.AbstractMatrix
 
assign(DoubleFunction) - Method in class org.apache.mahout.math.AbstractMatrix
 
assign(double) - Method in class org.apache.mahout.math.AbstractVector
 
assign(double[]) - Method in class org.apache.mahout.math.AbstractVector
 
assign(Vector) - Method in class org.apache.mahout.math.AbstractVector
 
assign(DoubleDoubleFunction, double) - Method in class org.apache.mahout.math.AbstractVector
 
assign(DoubleFunction) - Method in class org.apache.mahout.math.AbstractVector
 
assign(Vector, DoubleDoubleFunction) - Method in class org.apache.mahout.math.AbstractVector
 
assign(double) - Method in class org.apache.mahout.math.DenseMatrix
 
assign(DenseMatrix) - Method in class org.apache.mahout.math.DenseMatrix
 
assign(double) - Method in class org.apache.mahout.math.DenseVector
 
assign(Vector, DoubleDoubleFunction) - Method in class org.apache.mahout.math.DenseVector
 
assign(DenseVector) - Method in class org.apache.mahout.math.DenseVector
 
assign(double) - Method in interface org.apache.mahout.math.Matrix
Assign the value to all elements of the receiver
assign(double[][]) - Method in interface org.apache.mahout.math.Matrix
Assign the values to the receiver
assign(Matrix) - Method in interface org.apache.mahout.math.Matrix
Assign the other vector values to the receiver
assign(DoubleFunction) - Method in interface org.apache.mahout.math.Matrix
Apply the function to each element of the receiver
assign(Matrix, DoubleDoubleFunction) - Method in interface org.apache.mahout.math.Matrix
Apply the function to each element of the receiver and the corresponding element of the other argument
assign(double[]) - Method in class org.apache.mahout.math.matrix.DoubleMatrix1D
Deprecated. Sets all cells to the state specified by values.
assign(double) - Method in class org.apache.mahout.math.matrix.DoubleMatrix1D
Deprecated. Sets all cells to the state specified by value.
assign(DoubleFunction) - Method in class org.apache.mahout.math.matrix.DoubleMatrix1D
Deprecated. Assigns the result of a function to each cell; x[i] = function(x[i]).
assign(DoubleMatrix1D) - Method in class org.apache.mahout.math.matrix.DoubleMatrix1D
Deprecated. Replaces all cell values of the receiver with the values of another matrix.
assign(DoubleMatrix1D, DoubleDoubleFunction) - Method in class org.apache.mahout.math.matrix.DoubleMatrix1D
Deprecated. Assigns the result of a function to each cell; x[i] = function(x[i],y[i]).
assign(DoubleMatrix1D, DoubleDoubleFunction, IntArrayList) - Method in class org.apache.mahout.math.matrix.DoubleMatrix1D
Deprecated. Assigns the result of a function to each cell; x[i] = function(x[i],y[i]).
assign(double[][]) - Method in class org.apache.mahout.math.matrix.DoubleMatrix2D
Deprecated. Sets all cells to the state specified by values.
assign(double) - Method in class org.apache.mahout.math.matrix.DoubleMatrix2D
Deprecated. Sets all cells to the state specified by value.
assign(DoubleFunction) - Method in class org.apache.mahout.math.matrix.DoubleMatrix2D
Deprecated. Assigns the result of a function to each cell; x[row,col] = function(x[row,col]).
assign(DoubleMatrix2D) - Method in class org.apache.mahout.math.matrix.DoubleMatrix2D
Deprecated. Replaces all cell values of the receiver with the values of another matrix.
assign(DoubleMatrix2D, DoubleDoubleFunction) - Method in class org.apache.mahout.math.matrix.DoubleMatrix2D
Deprecated. Assigns the result of a function to each cell; x[row,col] = function(x[row,col],y[row,col]).
assign(double[]) - Method in class org.apache.mahout.math.matrix.impl.DenseDoubleMatrix1D
Deprecated. Sets all cells to the state specified by values.
assign(double) - Method in class org.apache.mahout.math.matrix.impl.DenseDoubleMatrix1D
Deprecated. Sets all cells to the state specified by value.
assign(DoubleFunction) - Method in class org.apache.mahout.math.matrix.impl.DenseDoubleMatrix1D
Deprecated. Assigns the result of a function to each cell; x[i] = function(x[i]).
assign(DoubleMatrix1D) - Method in class org.apache.mahout.math.matrix.impl.DenseDoubleMatrix1D
Deprecated. Replaces all cell values of the receiver with the values of another matrix.
assign(DoubleMatrix1D, DoubleDoubleFunction) - Method in class org.apache.mahout.math.matrix.impl.DenseDoubleMatrix1D
Deprecated. Assigns the result of a function to each cell; x[i] = function(x[i],y[i]).
assign(double[][]) - Method in class org.apache.mahout.math.matrix.impl.DenseDoubleMatrix2D
Deprecated. Sets all cells to the state specified by values.
assign(double) - Method in class org.apache.mahout.math.matrix.impl.DenseDoubleMatrix2D
Deprecated. Sets all cells to the state specified by value.
assign(DoubleFunction) - Method in class org.apache.mahout.math.matrix.impl.DenseDoubleMatrix2D
Deprecated. Assigns the result of a function to each cell; x[row,col] = function(x[row,col]).
assign(DoubleMatrix2D) - Method in class org.apache.mahout.math.matrix.impl.DenseDoubleMatrix2D
Deprecated. Replaces all cell values of the receiver with the values of another matrix.
assign(DoubleMatrix2D, DoubleDoubleFunction) - Method in class org.apache.mahout.math.matrix.impl.DenseDoubleMatrix2D
Deprecated. Assigns the result of a function to each cell; x[row,col] = function(x[row,col],y[row,col]).
assign(double) - Method in class org.apache.mahout.math.matrix.impl.SparseDoubleMatrix1D
Deprecated. Sets all cells to the state specified by value.
assign(double) - Method in class org.apache.mahout.math.matrix.impl.SparseDoubleMatrix2D
Deprecated. Sets all cells to the state specified by value.
assign(DoubleFunction) - Method in class org.apache.mahout.math.matrix.impl.SparseDoubleMatrix2D
Deprecated. Assigns the result of a function to each cell; x[row,col] = function(x[row,col]).
assign(DoubleMatrix2D) - Method in class org.apache.mahout.math.matrix.impl.SparseDoubleMatrix2D
Deprecated. Replaces all cell values of the receiver with the values of another matrix.
assign(DoubleMatrix2D, DoubleDoubleFunction) - Method in class org.apache.mahout.math.matrix.impl.SparseDoubleMatrix2D
Deprecated.  
assign(double) - Method in class org.apache.mahout.math.NamedVector
 
assign(double[]) - Method in class org.apache.mahout.math.NamedVector
 
assign(Vector) - Method in class org.apache.mahout.math.NamedVector
 
assign(DoubleFunction) - Method in class org.apache.mahout.math.NamedVector
 
assign(Vector, DoubleDoubleFunction) - Method in class org.apache.mahout.math.NamedVector
 
assign(DoubleDoubleFunction, double) - Method in class org.apache.mahout.math.NamedVector
 
assign(Vector) - Method in class org.apache.mahout.math.RandomAccessSparseVector
 
assign(Vector) - Method in class org.apache.mahout.math.SequentialAccessSparseVector
 
assign(double) - Method in interface org.apache.mahout.math.Vector
Assign the value to all elements of the receiver
assign(double[]) - Method in interface org.apache.mahout.math.Vector
Assign the values to the receiver
assign(Vector) - Method in interface org.apache.mahout.math.Vector
Assign the other vector values to the receiver
assign(DoubleFunction) - Method in interface org.apache.mahout.math.Vector
Apply the function to each element of the receiver
assign(Vector, DoubleDoubleFunction) - Method in interface org.apache.mahout.math.Vector
Apply the function to each element of the receiver and the corresponding element of the other argument
assign(DoubleDoubleFunction, double) - Method in interface org.apache.mahout.math.Vector
Apply the function to each element of the receiver, using the y value as the second argument of the DoubleDoubleFunction
assignColumn(int, Vector) - Method in class org.apache.mahout.math.DenseMatrix
 
assignColumn(int, Vector) - Method in class org.apache.mahout.math.DiagonalMatrix
 
assignColumn(int, Vector) - Method in interface org.apache.mahout.math.Matrix
Assign the other vector values to the column of the receiver
assignColumn(int, Vector) - Method in class org.apache.mahout.math.MatrixView
 
assignColumn(int, Vector) - Method in class org.apache.mahout.math.PivotedMatrix
Assign the other vector values to the column of the receiver
assignColumn(int, Vector) - Method in class org.apache.mahout.math.RandomTrinaryMatrix
 
assignColumn(int, Vector) - Method in class org.apache.mahout.math.SparseColumnMatrix
 
assignColumn(int, Vector) - Method in class org.apache.mahout.math.SparseMatrix
 
assignColumn(int, Vector) - Method in class org.apache.mahout.math.SparseRowMatrix
 
assignRow(int, Vector) - Method in class org.apache.mahout.math.DenseMatrix
 
assignRow(int, Vector) - Method in class org.apache.mahout.math.DiagonalMatrix
Assign the other vector values to the row of the receiver
assignRow(int, Vector) - Method in interface org.apache.mahout.math.Matrix
Assign the other vector values to the row of the receiver
assignRow(int, Vector) - Method in class org.apache.mahout.math.MatrixView
 
assignRow(int, Vector) - Method in class org.apache.mahout.math.PivotedMatrix
Assign the other vector values to the row of the receiver
assignRow(int, Vector) - Method in class org.apache.mahout.math.RandomTrinaryMatrix
 
assignRow(int, Vector) - Method in class org.apache.mahout.math.SparseColumnMatrix
 
assignRow(int, Vector) - Method in class org.apache.mahout.math.SparseMatrix
 
assignRow(int, Vector) - Method in class org.apache.mahout.math.SparseRowMatrix
 
AsyncEigenVerifier - Class in org.apache.mahout.math.decomposer
 
AsyncEigenVerifier() - Constructor for class org.apache.mahout.math.decomposer.AsyncEigenVerifier
 
ATAN - Static variable in class org.apache.mahout.math.function.Functions
Function that returns Math.atan(a).
ATAN2 - Static variable in class org.apache.mahout.math.function.Functions
Function that returns Math.atan2(a,b).

B

basis - Variable in class org.apache.mahout.math.decomposer.lanczos.LanczosState
 
beta(double, double) - Static method in class org.apache.mahout.math.jet.stat.Gamma
Returns the beta function of the arguments.
beta(double, double, double) - Static method in class org.apache.mahout.math.jet.stat.Probability
Returns the area from zero to x under the beta density function.
between(double, double) - Static method in class org.apache.mahout.math.function.Functions
Constructs a function that returns (from<=a && a<=to) ? 1 : 0.
BIG - Static variable in class org.apache.mahout.math.jet.math.Constants
 
BIG_INVERSE - Static variable in class org.apache.mahout.math.jet.math.Constants
 
bindArg1(DoubleDoubleFunction, double) - Static method in class org.apache.mahout.math.function.Functions
Constructs a unary function from a binary function with the first operand (argument) fixed to the given constant c.
bindArg2(DoubleDoubleFunction, double) - Static method in class org.apache.mahout.math.function.Functions
Constructs a unary function from a binary function with the second operand (argument) fixed to the given constant c.
binomial(long, long) - Static method in class org.apache.mahout.math.jet.math.Arithmetic
Efficiently returns the binomial coefficient, often also referred to as "n over k" or "n choose k".

C

calculateScaleFactor(Vector) - Method in class org.apache.mahout.math.decomposer.lanczos.LanczosSolver
 
cardinality() - Method in class org.apache.mahout.math.matrix.DoubleMatrix1D
Deprecated. Returns the number of cells having non-zero values; ignores tolerance.
cardinality(int) - Method in class org.apache.mahout.math.matrix.DoubleMatrix1D
Deprecated. Returns the number of cells having non-zero values, but at most maxCardinality; ignores tolerance.
cardinality() - Method in class org.apache.mahout.math.matrix.DoubleMatrix2D
Deprecated. Returns the number of cells having non-zero values; ignores tolerance.
cardinality(int) - Method in class org.apache.mahout.math.matrix.impl.DenseDoubleMatrix1D
Deprecated. Returns the number of cells having non-zero values, but at most maxCardinality; ignores tolerance.
cardinality() - Method in class org.apache.mahout.math.matrix.impl.SparseDoubleMatrix1D
Deprecated. Returns the number of cells having non-zero values.
cardinality() - Method in class org.apache.mahout.math.matrix.impl.SparseDoubleMatrix2D
Deprecated. Returns the number of cells having non-zero values.
CardinalityException - Exception in org.apache.mahout.math
Exception thrown when there is a cardinality mismatch in matrix or vector operations.
CardinalityException(int, int) - Constructor for exception org.apache.mahout.math.CardinalityException
 
cdf(double) - Method in class org.apache.mahout.math.jet.random.AbstractContinousDistribution
 
cdf(double) - Method in class org.apache.mahout.math.jet.random.Exponential
Returns the cumulative distribution function.
cdf(double) - Method in class org.apache.mahout.math.jet.random.Gamma
Returns the cumulative distribution function.
cdf(int) - Method in class org.apache.mahout.math.jet.random.NegativeBinomial
Returns the cumulative distribution function.
cdf(double) - Method in class org.apache.mahout.math.jet.random.Normal
Returns the cumulative distribution function.
cdf(double) - Method in class org.apache.mahout.math.jet.random.Uniform
Returns the cumulative distribution function (assuming a continous uniform distribution).
CEIL - Static variable in class org.apache.mahout.math.function.Functions
Function that returns Math.ceil(a).
chain(DoubleDoubleFunction, DoubleFunction, DoubleFunction) - Static method in class org.apache.mahout.math.function.Functions
Constructs the function f( g(a), h(b) ).
chain(DoubleFunction, DoubleDoubleFunction) - Static method in class org.apache.mahout.math.function.Functions
Constructs the function g( h(a,b) ).
chain(DoubleFunction, DoubleFunction) - Static method in class org.apache.mahout.math.function.Functions
Constructs the function g( h(a) ).
checkBox(int, int, int, int) - Method in class org.apache.mahout.math.matrix.impl.AbstractMatrix2D
Deprecated. Checks whether the receiver contains the given box and throws an exception, if necessary.
checkColumn(int) - Method in class org.apache.mahout.math.matrix.impl.AbstractMatrix2D
Deprecated. Sanity check for operations requiring a column index to be within bounds.
checkColumnIndexes(int[]) - Method in class org.apache.mahout.math.matrix.impl.AbstractMatrix2D
Deprecated. Checks whether indexes are legal and throws an exception, if necessary.
checkIndex(int) - Method in class org.apache.mahout.math.matrix.impl.AbstractMatrix1D
Deprecated. Sanity check for operations requiring an index to be within bounds.
checkRange(int, int) - Method in class org.apache.mahout.math.matrix.impl.AbstractMatrix1D
Deprecated. Checks whether the receiver contains the given range and throws an exception, if necessary.
checkRectangular(AbstractMatrix2D) - Static method in class org.apache.mahout.math.matrix.linalg.Property
Deprecated. Checks whether the given matrix A is rectangular.
checkRow(int) - Method in class org.apache.mahout.math.matrix.impl.AbstractMatrix2D
Deprecated. Sanity check for operations requiring a row index to be within bounds.
checkRowIndexes(int[]) - Method in class org.apache.mahout.math.matrix.impl.AbstractMatrix2D
Deprecated. Checks whether indexes are legal and throws an exception, if necessary.
checkShape(AbstractMatrix2D) - Method in class org.apache.mahout.math.matrix.impl.AbstractMatrix2D
Deprecated. Sanity check for operations requiring two matrices with the same number of columns and rows.
checkSize(AbstractMatrix1D) - Method in class org.apache.mahout.math.matrix.impl.AbstractMatrix1D
Deprecated. Sanity check for operations requiring two matrices with the same size.
checkSquare(AbstractMatrix2D) - Static method in class org.apache.mahout.math.matrix.linalg.Property
Deprecated. Checks whether the given matrix A is square.
checkSquare(Matrix) - Static method in class org.apache.mahout.math.matrix.linalg.Property
Deprecated.  
CholeskyDecomposition - Class in org.apache.mahout.math
Cholesky decomposition shamelessly ported from JAMA.
CholeskyDecomposition(Matrix) - Constructor for class org.apache.mahout.math.CholeskyDecomposition
 
CholeskyDecomposition(Matrix, boolean) - Constructor for class org.apache.mahout.math.CholeskyDecomposition
 
clone() - Method in class org.apache.mahout.math.AbstractMatrix
 
clone() - Method in class org.apache.mahout.math.AbstractMatrix.TransposeViewVector
 
clone() - Method in class org.apache.mahout.math.AbstractVector
 
clone() - Method in class org.apache.mahout.math.DenseMatrix
 
clone() - Method in class org.apache.mahout.math.DenseVector
 
clone() - Method in interface org.apache.mahout.math.Matrix
Return a copy of the recipient
clone() - Method in class org.apache.mahout.math.MatrixVectorView
 
clone() - Method in class org.apache.mahout.math.MatrixView
 
clone() - Method in class org.apache.mahout.math.NamedVector
 
clone() - Method in class org.apache.mahout.math.RandomAccessSparseVector
 
clone() - Method in class org.apache.mahout.math.SequentialAccessSparseVector
 
clone() - Method in class org.apache.mahout.math.SparseColumnMatrix
 
clone() - Method in class org.apache.mahout.math.SparseMatrix
 
clone() - Method in class org.apache.mahout.math.SparseRowMatrix
 
clone() - Method in interface org.apache.mahout.math.Vector
Return a copy of the recipient
clone() - Method in class org.apache.mahout.math.VectorView
 
COL - Static variable in class org.apache.mahout.math.AbstractMatrix
 
columnLabelBindings - Variable in class org.apache.mahout.math.AbstractMatrix
 
columnOffset(int) - Method in class org.apache.mahout.math.matrix.impl.AbstractMatrix2D
Deprecated. Returns the position of the given absolute rank within the (virtual or non-virtual) internal 1-dimensional array.
columnRank(int) - Method in class org.apache.mahout.math.matrix.impl.AbstractMatrix2D
Deprecated. Returns the absolute rank of the given relative rank.
columns - Variable in class org.apache.mahout.math.AbstractMatrix
 
columns - Variable in class org.apache.mahout.math.matrix.impl.AbstractMatrix2D
Deprecated. the number of colums and rows this matrix (view) has
columns() - Method in class org.apache.mahout.math.matrix.impl.AbstractMatrix2D
Deprecated. Returns the number of columns.
columnSize() - Method in class org.apache.mahout.math.AbstractMatrix
 
columnSize() - Method in interface org.apache.mahout.math.Matrix
 
columnStride - Variable in class org.apache.mahout.math.matrix.impl.AbstractMatrix2D
Deprecated. the number of elements between two columns, i.e.
columnUnpivot(int) - Method in class org.apache.mahout.math.PivotedMatrix
 
columnZero - Variable in class org.apache.mahout.math.matrix.impl.AbstractMatrix2D
Deprecated.  
COMPARE - Static variable in class org.apache.mahout.math.function.Functions
Function that returns a < b ? -1 : a > b ? 1 : 0.
compare(double) - Static method in class org.apache.mahout.math.function.Functions
Constructs a function that returns a < b ? -1 : a > b ? 1 : 0.
compareFrequencies(Multiset<T>, Multiset<T>, int, double) - Static method in class org.apache.mahout.math.stats.LogLikelihood
Compares two sets of counts to see which items are interestingly over-represented in the first set.
computeNext() - Method in class org.apache.mahout.math.VectorView.AllIterator
 
computeNext() - Method in class org.apache.mahout.math.VectorView.NonZeroIterator
 
cond() - Method in class org.apache.mahout.math.SingularValueDecomposition
Returns the two norm condition number, which is max(S) / min(S).
confidence(double) - Method in class org.apache.mahout.math.als.ImplicitFeedbackAlternatingLeastSquaresSolver
 
ConjugateGradientSolver - Class in org.apache.mahout.math.solver
Implementation of a conjugate gradient iterative solver for linear systems.
ConjugateGradientSolver() - Constructor for class org.apache.mahout.math.solver.ConjugateGradientSolver
 
constant(double) - Static method in class org.apache.mahout.math.function.Functions
Constructs a function that returns the constant c.
Constants - Class in org.apache.mahout.math.jet.math
Defines some useful constants.
ConstantVector - Class in org.apache.mahout.math
Implements a vector with all the same values.
ConstantVector(double, int) - Constructor for class org.apache.mahout.math.ConstantVector
 
copy() - Method in class org.apache.mahout.math.matrix.DoubleMatrix1D
Deprecated. Constructs and returns a deep copy of the receiver.
copy() - Method in class org.apache.mahout.math.matrix.DoubleMatrix2D
Deprecated. Constructs and returns a deep copy of the receiver.
corpus - Variable in class org.apache.mahout.math.decomposer.lanczos.LanczosState
 
COS - Static variable in class org.apache.mahout.math.function.Functions
Function that returns Math.cos(a).
cross(Vector) - Method in class org.apache.mahout.math.AbstractVector
 
cross(Vector) - Method in class org.apache.mahout.math.NamedVector
 
cross(Vector) - Method in interface org.apache.mahout.math.Vector
Return the cross product of the receiver and the other vector
currentTrainingProjection() - Method in class org.apache.mahout.math.decomposer.hebbian.TrainingState
 

D

DEFAULT - Static variable in class org.apache.mahout.math.matrix.linalg.Property
Deprecated. The default Property object; currently has tolerance()==1.0E-9.
DEFAULT_MAX_ERROR - Static variable in class org.apache.mahout.math.solver.ConjugateGradientSolver
 
DenseDoubleMatrix1D - Class in org.apache.mahout.math.matrix.impl
Deprecated. until unit tests are in place. Until this time, this class/interface is unsupported.
DenseDoubleMatrix1D(double[]) - Constructor for class org.apache.mahout.math.matrix.impl.DenseDoubleMatrix1D
Deprecated. Constructs a matrix with a copy of the given values.
DenseDoubleMatrix1D(int) - Constructor for class org.apache.mahout.math.matrix.impl.DenseDoubleMatrix1D
Deprecated. Constructs a matrix with a given number of cells.
DenseDoubleMatrix1D(int, double[], int, int) - Constructor for class org.apache.mahout.math.matrix.impl.DenseDoubleMatrix1D
Deprecated. Constructs a matrix view with the given parameters.
DenseDoubleMatrix2D - Class in org.apache.mahout.math.matrix.impl
Deprecated. until unit tests are in place. Until this time, this class/interface is unsupported.
DenseDoubleMatrix2D(double[][]) - Constructor for class org.apache.mahout.math.matrix.impl.DenseDoubleMatrix2D
Deprecated. Constructs a matrix with a copy of the given values.
DenseDoubleMatrix2D(int, int) - Constructor for class org.apache.mahout.math.matrix.impl.DenseDoubleMatrix2D
Deprecated. Constructs a matrix with a given number of rows and columns.
DenseMatrix - Class in org.apache.mahout.math
Matrix of doubles implemented using a 2-d array
DenseMatrix(double[][]) - Constructor for class org.apache.mahout.math.DenseMatrix
Construct a matrix from the given values
DenseMatrix(int, int) - Constructor for class org.apache.mahout.math.DenseMatrix
Constructs an empty matrix of the given size.
DenseVector - Class in org.apache.mahout.math
Implements vector as an array of doubles
DenseVector() - Constructor for class org.apache.mahout.math.DenseVector
For serialization purposes only
DenseVector(double[]) - Constructor for class org.apache.mahout.math.DenseVector
Construct a new instance using provided values
DenseVector(double[], boolean) - Constructor for class org.apache.mahout.math.DenseVector
 
DenseVector(DenseVector, boolean) - Constructor for class org.apache.mahout.math.DenseVector
 
DenseVector(int) - Constructor for class org.apache.mahout.math.DenseVector
Construct a new instance of the given cardinality
DenseVector(Vector) - Constructor for class org.apache.mahout.math.DenseVector
Copy-constructor (for use in turning a sparse vector into a dense one, for example)
density(DoubleMatrix2D) - Static method in class org.apache.mahout.math.matrix.linalg.Property
Deprecated. Returns the matrix's fraction of non-zero cells; A.cardinality() / A.size().
desiredRank - Variable in class org.apache.mahout.math.decomposer.lanczos.LanczosState
 
determinant() - Method in class org.apache.mahout.math.AbstractMatrix
 
determinant() - Method in interface org.apache.mahout.math.Matrix
Returns matrix determinator using Laplace theorem
DevURandomSeedGenerator - Class in org.apache.mahout.common
RNG seed strategy that gets data from /dev/urandom on systems that provide it (e.g.
DevURandomSeedGenerator() - Constructor for class org.apache.mahout.common.DevURandomSeedGenerator
 
diagonalMatrix - Variable in class org.apache.mahout.math.decomposer.lanczos.LanczosState
 
DiagonalMatrix - Class in org.apache.mahout.math
 
DiagonalMatrix(Vector) - Constructor for class org.apache.mahout.math.DiagonalMatrix
 
DiagonalMatrix(Matrix) - Constructor for class org.apache.mahout.math.DiagonalMatrix
 
DiagonalMatrix(double, int) - Constructor for class org.apache.mahout.math.DiagonalMatrix
 
DiagonalMatrix(double[]) - Constructor for class org.apache.mahout.math.DiagonalMatrix
 
DIV - Static variable in class org.apache.mahout.math.function.Functions
Function that returns a / b.
div(double) - Static method in class org.apache.mahout.math.function.Functions
Constructs a function that returns a / b.
div(double) - Static method in class org.apache.mahout.math.function.Mult
a / constant.
divide(double) - Method in class org.apache.mahout.math.AbstractMatrix
 
divide(double) - Method in class org.apache.mahout.math.AbstractVector
 
divide(double) - Method in interface org.apache.mahout.math.Matrix
Return a new matrix containing the values of the recipient divided by the argument
divide(double) - Method in class org.apache.mahout.math.NamedVector
 
divide(double) - Method in interface org.apache.mahout.math.Vector
Return a new vector containing the values of the recipient divided by the argument
dot(Vector) - Method in class org.apache.mahout.math.AbstractVector
 
dot(Vector) - Method in class org.apache.mahout.math.NamedVector
 
dot(Vector) - Method in interface org.apache.mahout.math.Vector
Return the dot product of the recipient and the argument
dotSelf() - Method in class org.apache.mahout.math.AbstractVector
 
dotSelf() - Method in class org.apache.mahout.math.DenseVector
 
DoubleDoubleFunction - Interface in org.apache.mahout.math.function
Interface that represents a function object: a function that takes two arguments and returns a single value.
DoubleFunction - Interface in org.apache.mahout.math.function
Interface that represents a function object: a function that takes a single argument and returns a single value.
DoubleMatrix1D - Class in org.apache.mahout.math.matrix
Deprecated. until unit tests are in place. Until this time, this class/interface is unsupported.
DoubleMatrix1D() - Constructor for class org.apache.mahout.math.matrix.DoubleMatrix1D
Deprecated. Makes this class non instantiable, but still let's others inherit from it.
DoubleMatrix2D - Class in org.apache.mahout.math.matrix
Deprecated. until unit tests are in place. Until this time, this class/interface is unsupported.
DoubleMatrix2D() - Constructor for class org.apache.mahout.math.matrix.DoubleMatrix2D
Deprecated. Makes this class non instantiable, but still let's others inherit from it.

E

EigenSolverWrapper - Class in org.apache.mahout.math.ssvd
wraps appropriate eigen solver for BBt matrix.
EigenSolverWrapper(double[][]) - Constructor for class org.apache.mahout.math.ssvd.EigenSolverWrapper
 
EigenStatus - Class in org.apache.mahout.math.decomposer
 
EigenStatus(double, double) - Constructor for class org.apache.mahout.math.decomposer.EigenStatus
 
EigenStatus(double, double, boolean) - Constructor for class org.apache.mahout.math.decomposer.EigenStatus
 
EigenUpdater - Interface in org.apache.mahout.math.decomposer.hebbian
 
EigenvalueDecomposition - Class in org.apache.mahout.math.matrix.linalg
Deprecated. until unit tests are in place. Until this time, this class/interface is unsupported.
EigenvalueDecomposition(double[][]) - Constructor for class org.apache.mahout.math.matrix.linalg.EigenvalueDecomposition
Deprecated.  
EigenvalueDecomposition(Matrix) - Constructor for class org.apache.mahout.math.matrix.linalg.EigenvalueDecomposition
Deprecated.  
EigenvalueDecomposition(DoubleMatrix2D) - Constructor for class org.apache.mahout.math.matrix.linalg.EigenvalueDecomposition
Deprecated. Constructs and returns a new eigenvalue decomposition object; The decomposed matrices can be retrieved via instance methods of the returned decomposition object.
elements - Variable in class org.apache.mahout.math.matrix.impl.DenseDoubleMatrix1D
Deprecated. The elements of this matrix.
ensureCapacity(int) - Method in class org.apache.mahout.math.matrix.impl.AbstractMatrix
Deprecated. Ensures that the receiver can hold at least the specified number of non-zero (non-null) cells without needing to allocate new internal memory.
ensureCapacity(int) - Method in class org.apache.mahout.math.matrix.impl.SparseDoubleMatrix1D
Deprecated. Ensures that the receiver can hold at least the specified number of non-zero cells without needing to allocate new internal memory.
ensureCapacity(int) - Method in class org.apache.mahout.math.matrix.impl.SparseDoubleMatrix2D
Deprecated. Ensures that the receiver can hold at least the specified number of non-zero cells without needing to allocate new internal memory.
entropy(long...) - Static method in class org.apache.mahout.math.stats.LogLikelihood
Calculates the unnormalized Shannon entropy.
equals(Object) - Method in class org.apache.mahout.math.AbstractVector
Determines whether this Vector represents the same logical vector as another object.
equals(Object) - Method in class org.apache.mahout.math.DenseVector
 
EQUALS - Static variable in class org.apache.mahout.math.function.Functions
Function that returns a == b ? 1 : 0.
equals(double) - Static method in class org.apache.mahout.math.function.Functions
Constructs a function that returns a == b ? 1 : 0.
equals(double) - Method in class org.apache.mahout.math.matrix.DoubleMatrix1D
Deprecated. Returns whether all cells are equal to the given value.
equals(Object) - Method in class org.apache.mahout.math.matrix.DoubleMatrix1D
Deprecated. Compares this object against the specified object.
equals(double) - Method in class org.apache.mahout.math.matrix.DoubleMatrix2D
Deprecated. Returns whether all cells are equal to the given value.
equals(Object) - Method in class org.apache.mahout.math.matrix.DoubleMatrix2D
Deprecated. Compares this object against the specified object.
equals(DoubleMatrix1D, double) - Method in class org.apache.mahout.math.matrix.linalg.Property
Deprecated. Returns whether all cells of the given matrix A are equal to the given value.
equals(DoubleMatrix1D, DoubleMatrix1D) - Method in class org.apache.mahout.math.matrix.linalg.Property
Deprecated. Returns whether both given matrices A and B are equal.
equals(DoubleMatrix2D, double) - Method in class org.apache.mahout.math.matrix.linalg.Property
Deprecated. Returns whether all cells of the given matrix A are equal to the given value.
equals(DoubleMatrix2D, DoubleMatrix2D) - Method in class org.apache.mahout.math.matrix.linalg.Property
Deprecated. Returns whether both given matrices A and B are equal.
equals(Object) - Method in class org.apache.mahout.math.NamedVector
To not break transitivity with other Vectors, this does not compare name.
EXP - Static variable in class org.apache.mahout.math.function.Functions
Function that returns Math.exp(a).
Exponential - Class in org.apache.mahout.math.jet.random
 
Exponential(double, Random) - Constructor for class org.apache.mahout.math.jet.random.Exponential
Provides a negative exponential distribution given a rate parameter lambda and an underlying random number generator.

F

FastRandomSeedGenerator - Class in org.apache.mahout.common
Implements an uncommons math compatible generator that avoids /dev/random's tendency to block due to entropy underflow.
FastRandomSeedGenerator() - Constructor for class org.apache.mahout.common.FastRandomSeedGenerator
 
FLOOR - Static variable in class org.apache.mahout.math.function.Functions
Function that returns Math.floor(a).
forEachNonZero(IntIntDoubleFunction) - Method in class org.apache.mahout.math.matrix.DoubleMatrix2D
Deprecated. Assigns the result of a function to each non-zero cell; x[row,col] = function(x[row,col]).
forEachNonZero(IntIntDoubleFunction) - Method in class org.apache.mahout.math.matrix.impl.SparseDoubleMatrix2D
Deprecated.  
Functions - Class in org.apache.mahout.math.function
Function objects to be passed to generic methods.

G

Gamma - Class in org.apache.mahout.math.jet.random
 
Gamma(double, double, Random) - Constructor for class org.apache.mahout.math.jet.random.Gamma
Constructs a Gamma distribution with a given shape (alpha) and rate (beta).
Gamma - Class in org.apache.mahout.math.jet.stat
Partially deprecated until unit tests are in place.
gamma(double) - Static method in class org.apache.mahout.math.jet.stat.Gamma
Returns the Gamma function of the argument.
gamma(double, double, double) - Static method in class org.apache.mahout.math.jet.stat.Probability
Returns the integral from zero to x of the gamma probability density function.
generateSeed(int) - Method in class org.apache.mahout.common.DevURandomSeedGenerator
 
generateSeed(int) - Method in class org.apache.mahout.common.FastRandomSeedGenerator
Generate a seed value for a random number generator.
GenericPermuting - Class in org.apache.mahout.math
Deprecated. until unit tests are in place. Until this time, this class/interface is unsupported.
get(String, String) - Method in class org.apache.mahout.math.AbstractMatrix
 
get(int, int) - Method in class org.apache.mahout.math.AbstractMatrix
 
get(int) - Method in class org.apache.mahout.math.AbstractVector
 
get() - Method in class org.apache.mahout.math.AbstractVector.LocalElement
 
get(int) - Method in class org.apache.mahout.math.matrix.DoubleMatrix1D
Deprecated. Returns the matrix cell value at coordinate index.
get(int, int) - Method in class org.apache.mahout.math.matrix.DoubleMatrix2D
Deprecated. Returns the matrix cell value at coordinate [row,column].
get(int, int) - Method in interface org.apache.mahout.math.Matrix
Return the value at the given indexes
get(String, String) - Method in interface org.apache.mahout.math.Matrix
Return the value at the given labels
get(int) - Method in class org.apache.mahout.math.NamedVector
 
get() - Method in interface org.apache.mahout.math.Vector.Element
 
get(int) - Method in interface org.apache.mahout.math.Vector
Return the value at the given index
getActivationDenominatorSquared() - Method in class org.apache.mahout.math.decomposer.hebbian.TrainingState
 
getActivationNumerator() - Method in class org.apache.mahout.math.decomposer.hebbian.TrainingState
 
getANorm() - Method in class org.apache.mahout.math.solver.LSMR
 
getAtolerance() - Method in class org.apache.mahout.math.solver.LSMR
 
getBase() - Method in class org.apache.mahout.math.PivotedMatrix
 
getBasisSize() - Method in class org.apache.mahout.math.decomposer.lanczos.LanczosState
 
getBasisVector(int) - Method in class org.apache.mahout.math.decomposer.lanczos.LanczosState
 
getBtolerance() - Method in class org.apache.mahout.math.solver.LSMR
 
getColumnLabelBindings() - Method in class org.apache.mahout.math.AbstractMatrix
 
getColumnLabelBindings() - Method in interface org.apache.mahout.math.Matrix
Return a map of the current column label bindings of the receiver
getColumnPivot() - Method in class org.apache.mahout.math.PivotedMatrix
 
getCondition() - Method in class org.apache.mahout.math.solver.LSMR
 
getContent() - Method in class org.apache.mahout.math.matrix.DoubleMatrix1D
Deprecated. Returns the content of this matrix if it is a wrapper; or this otherwise.
getContent() - Method in class org.apache.mahout.math.matrix.DoubleMatrix2D
Deprecated. Returns the content of this matrix if it is a wrapper; or this otherwise.
getCorpus() - Method in class org.apache.mahout.math.decomposer.lanczos.LanczosState
 
getCosAngle() - Method in class org.apache.mahout.math.decomposer.EigenStatus
 
getCount() - Method in class org.apache.mahout.math.stats.OnlineSummarizer
 
getCurrentEigens() - Method in class org.apache.mahout.math.decomposer.hebbian.TrainingState
 
getCurrentEigenValues() - Method in class org.apache.mahout.math.decomposer.hebbian.TrainingState
 
getD() - Method in class org.apache.mahout.math.matrix.linalg.EigenvalueDecomposition
Deprecated. Returns the block diagonal eigenvalue matrix, D.
getDelegate() - Method in class org.apache.mahout.math.NamedVector
 
getDiagonalMatrix() - Method in class org.apache.mahout.math.decomposer.lanczos.LanczosState
 
getDistanceSquared(Vector) - Method in class org.apache.mahout.math.AbstractVector
 
getDistanceSquared(Vector) - Method in class org.apache.mahout.math.NamedVector
 
getDistanceSquared(Vector) - Method in interface org.apache.mahout.math.Vector
Get the square of the distance between this vector and the other vector.
getDistanceSquared(Vector) - Method in class org.apache.mahout.math.VectorView
 
getEigenValue() - Method in class org.apache.mahout.math.decomposer.EigenStatus
 
getEigenValues() - Method in class org.apache.mahout.math.ssvd.EigenSolverWrapper
 
getElement(int) - Method in class org.apache.mahout.math.AbstractMatrix.TransposeViewVector
 
getElement(int) - Method in class org.apache.mahout.math.AbstractVector
 
getElement(int) - Method in class org.apache.mahout.math.NamedVector
 
getElement(int) - Method in interface org.apache.mahout.math.Vector
Return an object of Vector.Element representing an element of this Vector.
getHelperVector() - Method in class org.apache.mahout.math.decomposer.hebbian.TrainingState
 
getImagEigenvalues() - Method in class org.apache.mahout.math.matrix.linalg.EigenvalueDecomposition
Deprecated. Returns the imaginary parts of the eigenvalues.
getInverseColumnPivot() - Method in class org.apache.mahout.math.PivotedMatrix
 
getInversePivot() - Method in class org.apache.mahout.math.CholeskyDecomposition
 
getInverseRowPivot() - Method in class org.apache.mahout.math.PivotedMatrix
 
getItem() - Method in class org.apache.mahout.math.stats.LogLikelihood.ScoredItem
 
getIterationCount() - Method in class org.apache.mahout.math.solver.LSMR
 
getIterationNumber() - Method in class org.apache.mahout.math.decomposer.lanczos.LanczosState
 
getIterations() - Method in class org.apache.mahout.math.solver.ConjugateGradientSolver
Returns the number of iterations run once the solver is complete.
getL() - Method in class org.apache.mahout.math.CholeskyDecomposition
 
getLambda() - Method in class org.apache.mahout.math.solver.LSMR
 
getLengthSquared() - Method in class org.apache.mahout.math.AbstractVector
 
getLengthSquared() - Method in class org.apache.mahout.math.DenseVector
 
getLengthSquared() - Method in class org.apache.mahout.math.NamedVector
 
getLengthSquared() - Method in interface org.apache.mahout.math.Vector
Return the sum of squares of all elements in the vector.
getLengthSquared() - Method in class org.apache.mahout.math.VectorView
 
getMax() - Method in class org.apache.mahout.math.stats.OnlineSummarizer
 
getMean() - Method in class org.apache.mahout.math.stats.OnlineSummarizer
 
getMedian() - Method in class org.apache.mahout.math.stats.OnlineSummarizer
 
getMin() - Method in class org.apache.mahout.math.stats.OnlineSummarizer
 
getMultiplicator() - Method in class org.apache.mahout.math.function.Mult
 
getMultiplicator() - Method in class org.apache.mahout.math.function.PlusMult
 
getName() - Method in class org.apache.mahout.math.NamedVector
 
getNonZeros(IntArrayList, DoubleArrayList) - Method in class org.apache.mahout.math.matrix.DoubleMatrix1D
Deprecated. Fills the coordinates and values of cells having non-zero values into the specified lists.
getNonZeros(IntArrayList, DoubleArrayList, int) - Method in class org.apache.mahout.math.matrix.DoubleMatrix1D
Deprecated. Fills the coordinates and values of cells having non-zero values into the specified lists.
getNorm(Matrix) - Static method in class org.apache.mahout.math.Algebra
Compute Maximum Absolute Row Sum Norm of input Matrix m http://mathworld.wolfram.com/MaximumAbsoluteRowSumNorm.html
getNormalEquationResidual() - Method in class org.apache.mahout.math.solver.LSMR
 
getNumEigensProcessed() - Method in class org.apache.mahout.math.decomposer.hebbian.TrainingState
 
getNumNondefaultElements() - Method in class org.apache.mahout.math.AbstractMatrix
 
getNumNondefaultElements() - Method in class org.apache.mahout.math.AbstractMatrix.TransposeViewVector
TODO: currently I don't know of an efficient way to getVector this value correctly.
getNumNondefaultElements() - Method in class org.apache.mahout.math.ConstantVector
Return the number of values in the recipient
getNumNondefaultElements() - Method in class org.apache.mahout.math.DenseVector
 
getNumNondefaultElements() - Method in class org.apache.mahout.math.DiagonalMatrix
Return the number of values in the recipient
getNumNondefaultElements() - Method in interface org.apache.mahout.math.Matrix
Return the number of values in the recipient
getNumNondefaultElements() - Method in class org.apache.mahout.math.MatrixVectorView
Return the number of values in the recipient
getNumNondefaultElements() - Method in class org.apache.mahout.math.MatrixView
 
getNumNondefaultElements() - Method in class org.apache.mahout.math.NamedVector
 
getNumNondefaultElements() - Method in class org.apache.mahout.math.PermutedVectorView
Return the number of values in the recipient
getNumNondefaultElements() - Method in class org.apache.mahout.math.PivotedMatrix
Return the number of values in the recipient
getNumNondefaultElements() - Method in class org.apache.mahout.math.RandomAccessSparseVector
 
getNumNondefaultElements() - Method in class org.apache.mahout.math.RandomTrinaryMatrix
Return the number of values in the recipient
getNumNondefaultElements() - Method in class org.apache.mahout.math.SequentialAccessSparseVector
 
getNumNondefaultElements() - Method in class org.apache.mahout.math.SparseColumnMatrix
 
getNumNondefaultElements() - Method in class org.apache.mahout.math.SparseMatrix
 
getNumNondefaultElements() - Method in class org.apache.mahout.math.SparseRowMatrix
 
getNumNondefaultElements() - Method in interface org.apache.mahout.math.Vector
Return the number of values in the recipient which are not the default value.
getNumNondefaultElements() - Method in class org.apache.mahout.math.VectorView
 
getPermutedL() - Method in class org.apache.mahout.math.CholeskyDecomposition
 
getPivot() - Method in class org.apache.mahout.math.CholeskyDecomposition
 
getQ() - Method in class org.apache.mahout.math.QRDecomposition
Generates and returns the (economy-sized) orthogonal factor Q.
getQuartile(int) - Method in class org.apache.mahout.math.stats.OnlineSummarizer
 
getQuick(int) - Method in class org.apache.mahout.math.AbstractMatrix.TransposeViewVector
 
getQuick(int) - Method in class org.apache.mahout.math.ConstantVector
Return the value at the given index, without checking bounds
getQuick(int, int) - Method in class org.apache.mahout.math.DenseMatrix
 
getQuick(int) - Method in class org.apache.mahout.math.DenseVector
 
getQuick(int, int) - Method in class org.apache.mahout.math.DiagonalMatrix
Return the value at the given location, without checking bounds
getQuick(int) - Method in class org.apache.mahout.math.matrix.DoubleMatrix1D
Deprecated. Returns the matrix cell value at coordinate index.
getQuick(int, int) - Method in class org.apache.mahout.math.matrix.DoubleMatrix2D
Deprecated. Returns the matrix cell value at coordinate [row,column].
getQuick(int, int) - Method in interface org.apache.mahout.math.Matrix
Return the value at the given indexes, without checking bounds
getQuick(int) - Method in class org.apache.mahout.math.matrix.impl.DenseDoubleMatrix1D
Deprecated. Returns the matrix cell value at coordinate index.
getQuick(int, int) - Method in class org.apache.mahout.math.matrix.impl.DenseDoubleMatrix2D
Deprecated. Returns the matrix cell value at coordinate [row,column].
getQuick(int) - Method in class org.apache.mahout.math.matrix.impl.SparseDoubleMatrix1D
Deprecated. Returns the matrix cell value at coordinate index.
getQuick(int, int) - Method in class org.apache.mahout.math.matrix.impl.SparseDoubleMatrix2D
Deprecated. Returns the matrix cell value at coordinate [row,column].
getQuick(int) - Method in class org.apache.mahout.math.MatrixVectorView
Return the value at the given index, without checking bounds
getQuick(int, int) - Method in class org.apache.mahout.math.MatrixView
 
getQuick(int) - Method in class org.apache.mahout.math.NamedVector
 
getQuick(int) - Method in class org.apache.mahout.math.PermutedVectorView
Return the value at the given index, without checking bounds
getQuick(int, int) - Method in class org.apache.mahout.math.PivotedMatrix
Return the value at the given indexes, without checking bounds
getQuick(int) - Method in class org.apache.mahout.math.RandomAccessSparseVector
 
getQuick(int, int) - Method in class org.apache.mahout.math.RandomTrinaryMatrix
Return the value at the given indexes, without checking bounds
getQuick(int) - Method in class org.apache.mahout.math.SequentialAccessSparseVector
 
getQuick(int, int) - Method in class org.apache.mahout.math.SparseColumnMatrix
 
getQuick(int, int) - Method in class org.apache.mahout.math.SparseMatrix
 
getQuick(int, int) - Method in class org.apache.mahout.math.SparseRowMatrix
 
getQuick(int) - Method in interface org.apache.mahout.math.Vector
Return the value at the given index, without checking bounds
getQuick(int) - Method in class org.apache.mahout.math.VectorView
 
getR() - Method in class org.apache.mahout.math.QRDecomposition
Returns the upper triangular factor, R.
getRandom() - Static method in class org.apache.mahout.common.RandomUtils
 
getRandom(long) - Static method in class org.apache.mahout.common.RandomUtils
 
getRandom() - Method in class org.apache.mahout.common.RandomWrapper
 
getRandomGenerator() - Method in class org.apache.mahout.math.jet.random.AbstractDistribution
 
getRealEigenvalues() - Method in class org.apache.mahout.math.matrix.linalg.EigenvalueDecomposition
Deprecated. Returns the real parts of the eigenvalues.
getResidualNorm() - Method in class org.apache.mahout.math.solver.ConjugateGradientSolver
Returns the norm of the residual at the completion of the solver.
getResidualNorm() - Method in class org.apache.mahout.math.solver.LSMR
 
getRightSingularVector(int) - Method in class org.apache.mahout.math.decomposer.lanczos.LanczosState
 
getRowLabelBindings() - Method in class org.apache.mahout.math.AbstractMatrix
 
getRowLabelBindings() - Method in interface org.apache.mahout.math.Matrix
Return a map of the current row label bindings of the receiver
getRowPivot() - Method in class org.apache.mahout.math.PivotedMatrix
 
getS() - Method in class org.apache.mahout.math.SingularValueDecomposition
 
getScaleFactor() - Method in class org.apache.mahout.math.decomposer.lanczos.LanczosState
 
getScore() - Method in class org.apache.mahout.math.stats.LogLikelihood.ScoredItem
 
getSD() - Method in class org.apache.mahout.math.stats.OnlineSummarizer
 
getSeed() - Method in class org.apache.mahout.common.RandomWrapper
 
getSingularValue(int) - Method in class org.apache.mahout.math.decomposer.lanczos.LanczosState
 
getSingularValues() - Method in class org.apache.mahout.math.SingularValueDecomposition
Returns the diagonal of S, which is a one-dimensional array of singular values
getSingularValues() - Method in class org.apache.mahout.math.ssvd.SequentialBigSvd
 
getStatusProgress() - Method in class org.apache.mahout.math.decomposer.hebbian.TrainingState
 
getTrainingIndex() - Method in class org.apache.mahout.math.decomposer.hebbian.TrainingState
 
getTrainingProjections() - Method in class org.apache.mahout.math.decomposer.hebbian.TrainingState
 
getU() - Method in class org.apache.mahout.math.SingularValueDecomposition
Returns the left singular vectors U.
getU() - Method in class org.apache.mahout.math.ssvd.SequentialBigSvd
 
getUHat() - Method in class org.apache.mahout.math.ssvd.EigenSolverWrapper
 
getV() - Method in class org.apache.mahout.math.matrix.linalg.EigenvalueDecomposition
Deprecated. Returns the eigenvector matrix, V
getV() - Method in class org.apache.mahout.math.SingularValueDecomposition
Returns the right singular vectors V.
getV() - Method in class org.apache.mahout.math.ssvd.SequentialBigSvd
 
getXNorm() - Method in class org.apache.mahout.math.solver.LSMR
 
GREATER - Static variable in class org.apache.mahout.math.function.Functions
Function that returns a > b ? 1 : 0.
greater(double) - Static method in class org.apache.mahout.math.function.Functions
Constructs a function that returns a > b ? 1 : 0.

H

hasFullRank() - Method in class org.apache.mahout.math.QRDecomposition
Returns whether the matrix A has full rank.
hash(byte[], int) - Static method in class org.apache.mahout.math.MurmurHash
Hashes bytes in an array.
hash(byte[], int, int, int) - Static method in class org.apache.mahout.math.MurmurHash
Hashes bytes in part of an array.
hash(ByteBuffer, int) - Static method in class org.apache.mahout.math.MurmurHash
Hashes the bytes in a buffer from the current position to the limit.
hash64A(byte[], int) - Static method in class org.apache.mahout.math.MurmurHash
 
hash64A(byte[], int, int, int) - Static method in class org.apache.mahout.math.MurmurHash
 
hash64A(ByteBuffer, int) - Static method in class org.apache.mahout.math.MurmurHash
 
hashCode() - Method in class org.apache.mahout.math.AbstractVector
 
hashCode() - Method in class org.apache.mahout.math.NamedVector
 
hashDouble(double) - Static method in class org.apache.mahout.common.RandomUtils
 
hashFloat(float) - Static method in class org.apache.mahout.common.RandomUtils
 
hasNotConverged(Vector, Matrix, TrainingState) - Method in class org.apache.mahout.math.decomposer.hebbian.HebbianSolver
Uses the SingularVectorVerifier to check for convergence
haveSharedCells(DoubleMatrix1D) - Method in class org.apache.mahout.math.matrix.DoubleMatrix1D
Deprecated. Returns true if both matrices share at least one identical cell.
haveSharedCells(DoubleMatrix2D) - Method in class org.apache.mahout.math.matrix.DoubleMatrix2D
Deprecated. Returns true if both matrices share at least one identical cell.
haveSharedCellsRaw(DoubleMatrix1D) - Method in class org.apache.mahout.math.matrix.DoubleMatrix1D
Deprecated. Returns true if both matrices share at least one identical cell.
haveSharedCellsRaw(DoubleMatrix2D) - Method in class org.apache.mahout.math.matrix.DoubleMatrix2D
Deprecated. Returns true if both matrices share at least one identical cell.
haveSharedCellsRaw(DoubleMatrix1D) - Method in class org.apache.mahout.math.matrix.impl.DenseDoubleMatrix1D
Deprecated. Returns true if both matrices share at least one identical cell.
haveSharedCellsRaw(DoubleMatrix2D) - Method in class org.apache.mahout.math.matrix.impl.DenseDoubleMatrix2D
Deprecated. Returns true if both matrices share common cells.
haveSharedCellsRaw(DoubleMatrix1D) - Method in class org.apache.mahout.math.matrix.impl.SparseDoubleMatrix1D
Deprecated. Returns true if both matrices share at least one identical cell.
haveSharedCellsRaw(DoubleMatrix2D) - Method in class org.apache.mahout.math.matrix.impl.SparseDoubleMatrix2D
Deprecated. Returns true if both matrices share common cells.
HebbianSolver - Class in org.apache.mahout.math.decomposer.hebbian
The Hebbian solver is an iterative, sparse, singular value decomposition solver, based on the paper Generalized Hebbian Algorithm for Latent Semantic Analysis (2005) by Genevieve Gorrell and Brandyn Webb (a.k.a.
HebbianSolver(EigenUpdater, SingularVectorVerifier, double, int) - Constructor for class org.apache.mahout.math.decomposer.hebbian.HebbianSolver
Creates a new HebbianSolver
HebbianSolver(EigenUpdater, SingularVectorVerifier, double) - Constructor for class org.apache.mahout.math.decomposer.hebbian.HebbianSolver
Creates a new HebbianSolver with maxPassesPerEigen = Integer.MAX_VALUE (i.e.
HebbianSolver(double, int) - Constructor for class org.apache.mahout.math.decomposer.hebbian.HebbianSolver
This is the recommended constructor to use if you're not sure Creates a new HebbianSolver with the default HebbianUpdater to do the updating work, and the default AsyncEigenVerifier to check for convergence in a (single) background thread.
HebbianSolver(double) - Constructor for class org.apache.mahout.math.decomposer.hebbian.HebbianSolver
Creates a new HebbianSolver with the default HebbianUpdater to do the updating work, and the default AsyncEigenVerifier to check for convergence in a (single) background thread, with maxPassesPerEigen set to Integer.MAX_VALUE.
HebbianSolver(int) - Constructor for class org.apache.mahout.math.decomposer.hebbian.HebbianSolver
Creates a new HebbianSolver with the default HebbianUpdater to do the updating work, and the default AsyncEigenVerifier to check for convergence in a (single) background thread, with convergenceTarget set to 0, which means that the solver will not really care about convergence as a loop-exiting criterion (but will be checking for convergence anyways, so it will be logged and singular values will be saved).
HebbianUpdater - Class in org.apache.mahout.math.decomposer.hebbian
 
HebbianUpdater() - Constructor for class org.apache.mahout.math.decomposer.hebbian.HebbianUpdater
 
hypot(double, double) - Static method in class org.apache.mahout.math.Algebra
Returns sqrt(a^2 + b^2) without under/overflow.

I

identity(int) - Static method in class org.apache.mahout.math.DiagonalMatrix
 
IDENTITY - Static variable in class org.apache.mahout.math.function.Functions
Function that returns its argument.
identity(int) - Static method in class org.apache.mahout.math.matrix.impl.DenseDoubleMatrix2D
Deprecated. Constructs an identity matrix (having ones on the diagonal and zeros elsewhere).
IEEE_REMAINDER - Static variable in class org.apache.mahout.math.function.Functions
Function that returns Math.IEEEremainder(a,b).
ImplicitFeedbackAlternatingLeastSquaresSolver - Class in org.apache.mahout.math.als
see Collaborative Filtering for Implicit Feedback Datasets
ImplicitFeedbackAlternatingLeastSquaresSolver(int, double, double, OpenIntObjectHashMap) - Constructor for class org.apache.mahout.math.als.ImplicitFeedbackAlternatingLeastSquaresSolver
 
incompleteBeta(double, double, double) - Static method in class org.apache.mahout.math.jet.stat.Gamma
Returns the regularized Incomplete Beta Function evaluated from zero to xx; formerly named ibeta.
incompleteGamma(double, double) - Static method in class org.apache.mahout.math.jet.stat.Gamma
Returns the Incomplete Gamma function; formerly named igamma.
incompleteGammaComplement(double, double) - Static method in class org.apache.mahout.math.jet.stat.Gamma
Returns the Complemented Incomplete Gamma function; formerly named igamc.
index() - Method in class org.apache.mahout.math.AbstractVector.LocalElement
 
index(int) - Method in class org.apache.mahout.math.matrix.impl.AbstractMatrix1D
Deprecated. Returns the position of the element with the given relative rank within the (virtual or non-virtual) internal 1-dimensional array.
index(int, int) - Method in class org.apache.mahout.math.matrix.impl.AbstractMatrix2D
Deprecated. Returns the position of the given coordinate within the (virtual or non-virtual) internal 1-dimensional array.
index(int) - Method in class org.apache.mahout.math.matrix.impl.DenseDoubleMatrix1D
Deprecated. Returns the position of the element with the given relative rank within the (virtual or non-virtual) internal 1-dimensional array.
index(int, int) - Method in class org.apache.mahout.math.matrix.impl.DenseDoubleMatrix2D
Deprecated. Returns the position of the given coordinate within the (virtual or non-virtual) internal 1-dimensional array.
index(int) - Method in class org.apache.mahout.math.matrix.impl.SparseDoubleMatrix1D
Deprecated. Returns the position of the element with the given relative rank within the (virtual or non-virtual) internal 1-dimensional array.
index(int, int) - Method in class org.apache.mahout.math.matrix.impl.SparseDoubleMatrix2D
Deprecated. Returns the position of the given coordinate within the (virtual or non-virtual) internal 1-dimensional array.
index() - Method in class org.apache.mahout.math.MatrixSlice
 
index() - Method in interface org.apache.mahout.math.Vector.Element
 
IndexException - Exception in org.apache.mahout.math
Exception thrown when a matrix or vector is accessed at an index, or dimension, which does not logically exist in the entity.
IndexException(int, int) - Constructor for exception org.apache.mahout.math.IndexException
 
innerVerify(VectorIterable, Vector) - Method in class org.apache.mahout.math.decomposer.AsyncEigenVerifier
 
inProgress() - Method in class org.apache.mahout.math.decomposer.EigenStatus
 
IntFunction - Interface in org.apache.mahout.math.function
Interface that represents a function object: a function that takes a single argument and returns a single value.
IntIntDoubleFunction - Interface in org.apache.mahout.math.function
Interface that represents a function object: a function that takes three arguments.
intitializeBasisAndSingularVectors() - Method in class org.apache.mahout.math.decomposer.lanczos.LanczosState
 
INV - Static variable in class org.apache.mahout.math.function.Functions
Function that returns 1.0 / a.
IS_EQUAL - Static variable in class org.apache.mahout.math.function.Functions
Function that returns a == b.
IS_GREATER - Static variable in class org.apache.mahout.math.function.Functions
Function that returns a > b.
IS_LESS - Static variable in class org.apache.mahout.math.function.Functions
Function that returns a < b.
isBetween(double, double) - Static method in class org.apache.mahout.math.function.Functions
Constructs a function that returns from<=a && a<=to.
isDense() - Method in class org.apache.mahout.math.AbstractMatrix.TransposeViewVector
 
isDense() - Method in class org.apache.mahout.math.ConstantVector
 
isDense() - Method in class org.apache.mahout.math.DenseVector
 
isDense() - Method in class org.apache.mahout.math.MatrixVectorView
 
isDense() - Method in class org.apache.mahout.math.NamedVector
 
isDense() - Method in class org.apache.mahout.math.PermutedVectorView
 
isDense() - Method in class org.apache.mahout.math.RandomAccessSparseVector
 
isDense() - Method in class org.apache.mahout.math.SequentialAccessSparseVector
 
isDense() - Method in interface org.apache.mahout.math.Vector
 
isDense() - Method in class org.apache.mahout.math.VectorView
 
isDiagonal(DoubleMatrix2D) - Method in class org.apache.mahout.math.matrix.linalg.Property
Deprecated. A matrix A is diagonal if A[i,j] == 0 whenever i != j.
isDiagonallyDominantByColumn(DoubleMatrix2D) - Static method in class org.apache.mahout.math.matrix.linalg.Property
Deprecated. A matrix A is diagonally dominant by column if the absolute value of each diagonal element is larger than the sum of the absolute values of the off-diagonal elements in the corresponding column.
isDiagonallyDominantByRow(DoubleMatrix2D) - Static method in class org.apache.mahout.math.matrix.linalg.Property
Deprecated. A matrix A is diagonally dominant by row if the absolute value of each diagonal element is larger than the sum of the absolute values of the off-diagonal elements in the corresponding row.
isEqual(double) - Static method in class org.apache.mahout.math.function.Functions
Constructs a function that returns a == b.
isFirstPass() - Method in class org.apache.mahout.math.decomposer.hebbian.TrainingState
 
isGreater(double) - Static method in class org.apache.mahout.math.function.Functions
Constructs a function that returns a > b.
isIdentity(DoubleMatrix2D) - Method in class org.apache.mahout.math.matrix.linalg.Property
Deprecated. A matrix A is an identity matrix if A[i,i] == 1 and all other cells are zero.
isLess(double) - Static method in class org.apache.mahout.math.function.Functions
Constructs a function that returns a < b.
isLowerBidiagonal(DoubleMatrix2D) - Method in class org.apache.mahout.math.matrix.linalg.Property
Deprecated. A matrix A is lower bidiagonal if A[i,j]==0 unless i==j || i==j+1.
isLowerTriangular(DoubleMatrix2D) - Method in class org.apache.mahout.math.matrix.linalg.Property
Deprecated. A matrix A is lower triangular if A[i,j]==0 whenever i < j.
isNonNegative(DoubleMatrix2D) - Static method in class org.apache.mahout.math.matrix.linalg.Property
Deprecated. A matrix A is non-negative if A[i,j] >= 0 holds for all cells.
isNotPrime(int) - Static method in class org.apache.mahout.common.RandomUtils
 
isNoView - Variable in class org.apache.mahout.math.matrix.impl.AbstractMatrix
Deprecated.  
isOrthogonal(DoubleMatrix2D) - Method in class org.apache.mahout.math.matrix.linalg.Property
Deprecated. A square matrix A is orthogonal if A*transpose(A) = I.
isPositive(DoubleMatrix2D) - Static method in class org.apache.mahout.math.matrix.linalg.Property
Deprecated. A matrix A is positive if A[i,j] > 0 holds for all cells.
isPositiveDefinite() - Method in class org.apache.mahout.math.CholeskyDecomposition
 
isSequentialAccess() - Method in class org.apache.mahout.math.AbstractMatrix.TransposeViewVector
 
isSequentialAccess() - Method in class org.apache.mahout.math.ConstantVector
 
isSequentialAccess() - Method in class org.apache.mahout.math.DenseVector
 
isSequentialAccess() - Method in class org.apache.mahout.math.MatrixVectorView
 
isSequentialAccess() - Method in class org.apache.mahout.math.NamedVector
 
isSequentialAccess() - Method in class org.apache.mahout.math.PermutedVectorView
 
isSequentialAccess() - Method in class org.apache.mahout.math.RandomAccessSparseVector
 
isSequentialAccess() - Method in class org.apache.mahout.math.SequentialAccessSparseVector
 
isSequentialAccess() - Method in interface org.apache.mahout.math.Vector
 
isSequentialAccess() - Method in class org.apache.mahout.math.VectorView
 
isSkewSymmetric(DoubleMatrix2D) - Method in class org.apache.mahout.math.matrix.linalg.Property
Deprecated. A square matrix A is skew-symmetric if A = -transpose(A), that is A[i,j] == -A[j,i].
isSquare(AbstractMatrix2D) - Static method in class org.apache.mahout.math.matrix.linalg.Property
Deprecated. A matrix A is square if it has the same number of rows and columns.
isStrictlyLowerTriangular(DoubleMatrix2D) - Method in class org.apache.mahout.math.matrix.linalg.Property
Deprecated. A matrix A is strictly lower triangular if A[i,j]==0 whenever i <= j.
isStrictlyTriangular(DoubleMatrix2D) - Method in class org.apache.mahout.math.matrix.linalg.Property
Deprecated. A matrix A is strictly triangular if it is triangular and its diagonal elements all equal 0.
isStrictlyUpperTriangular(DoubleMatrix2D) - Method in class org.apache.mahout.math.matrix.linalg.Property
Deprecated. A matrix A is strictly upper triangular if A[i,j]==0 whenever i >= j.
isSymmetric(DoubleMatrix2D) - Method in class org.apache.mahout.math.matrix.linalg.Property
Deprecated. A matrix A is symmetric if A = tranpose(A), that is A[i,j] == A[j,i].
isTriangular(DoubleMatrix2D) - Method in class org.apache.mahout.math.matrix.linalg.Property
Deprecated. A matrix A is triangular iff it is either upper or lower triangular.
isTridiagonal(DoubleMatrix2D) - Method in class org.apache.mahout.math.matrix.linalg.Property
Deprecated. A matrix A is tridiagonal if A[i,j]==0 whenever Math.abs(i-j) > 1.
isUnitTriangular(DoubleMatrix2D) - Method in class org.apache.mahout.math.matrix.linalg.Property
Deprecated. A matrix A is unit triangular if it is triangular and its diagonal elements all equal 1.
isUpperBidiagonal(DoubleMatrix2D) - Method in class org.apache.mahout.math.matrix.linalg.Property
Deprecated. A matrix A is upper bidiagonal if A[i,j]==0 unless i==j || i==j-1.
isUpperTriangular(DoubleMatrix2D) - Method in class org.apache.mahout.math.matrix.linalg.Property
Deprecated. A matrix A is upper triangular if A[i,j]==0 whenever i > j.
isZero(DoubleMatrix2D) - Method in class org.apache.mahout.math.matrix.linalg.Property
Deprecated. A matrix A is zero if all its cells are zero.
iterateAll() - Method in class org.apache.mahout.math.AbstractMatrix
 
iterateAll() - Method in interface org.apache.mahout.math.VectorIterable
 
iterateNonZero() - Method in class org.apache.mahout.math.AbstractMatrix.TransposeViewVector
Currently delegates to AbstractMatrix.TransposeViewVector.iterator().
iterateNonZero() - Method in class org.apache.mahout.math.ConstantVector
Iterates over all non-zero elements.
iterateNonZero() - Method in class org.apache.mahout.math.DenseVector
Returns an iterator that traverses this Vector from 0 to cardinality-1, in that order.
iterateNonZero() - Method in class org.apache.mahout.math.MatrixVectorView
Iterates over all non-zero elements.
iterateNonZero() - Method in class org.apache.mahout.math.NamedVector
 
iterateNonZero() - Method in class org.apache.mahout.math.PermutedVectorView
Iterates over all non-zero elements.
iterateNonZero() - Method in class org.apache.mahout.math.RandomAccessSparseVector
NOTE: this implementation reuses the Vector.Element instance for each call of next().
iterateNonZero() - Method in class org.apache.mahout.math.SequentialAccessSparseVector
 
iterateNonZero() - Method in interface org.apache.mahout.math.Vector
Iterates over all non-zero elements.
iterateNonZero() - Method in class org.apache.mahout.math.VectorView
 
iterationNumber - Variable in class org.apache.mahout.math.decomposer.lanczos.LanczosState
 
iterator() - Method in class org.apache.mahout.math.AbstractMatrix
 
iterator() - Method in class org.apache.mahout.math.AbstractMatrix.TransposeViewVector
 
iterator() - Method in class org.apache.mahout.math.ConstantVector
Iterates over all elements

* NOTE: Implementations may choose to reuse the Element returned for performance reasons, so if you need a copy of it, you should call AbstractVector.getElement(int) for the given index

iterator() - Method in class org.apache.mahout.math.DenseVector
 
iterator() - Method in class org.apache.mahout.math.MatrixVectorView
Iterates over all elements

* NOTE: Implementations may choose to reuse the Element returned for performance reasons, so if you need a copy of it, you should call AbstractVector.getElement(int) for the given index

iterator() - Method in class org.apache.mahout.math.NamedVector
 
iterator() - Method in class org.apache.mahout.math.PermutedVectorView
Iterates over all elements

* NOTE: Implementations may choose to reuse the Element returned for performance reasons, so if you need a copy of it, you should call AbstractVector.getElement(int) for the given index

iterator() - Method in class org.apache.mahout.math.RandomAccessSparseVector
 
iterator() - Method in class org.apache.mahout.math.SequentialAccessSparseVector
 
iterator() - Method in class org.apache.mahout.math.SparseMatrix
 
iterator() - Method in interface org.apache.mahout.math.Vector
Iterates over all elements

* NOTE: Implementations may choose to reuse the Element returned for performance reasons, so if you need a copy of it, you should call Vector.getElement(int) for the given index

iterator() - Method in class org.apache.mahout.math.VectorView
 

J

JacobiConditioner - Class in org.apache.mahout.math.solver
Implements the Jacobi preconditioner for a matrix A.
JacobiConditioner(Matrix) - Constructor for class org.apache.mahout.math.solver.JacobiConditioner
 

L

LanczosSolver - Class in org.apache.mahout.math.decomposer.lanczos
Simple implementation of the Lanczos algorithm for finding eigenvalues of a symmetric matrix, applied to non-symmetric matrices by applying Matrix.timesSquared(vector) as the "matrix-multiplication" method.
LanczosSolver() - Constructor for class org.apache.mahout.math.decomposer.lanczos.LanczosSolver
 
LanczosSolver.TimingSection - Enum in org.apache.mahout.math.decomposer.lanczos
 
LanczosState - Class in org.apache.mahout.math.decomposer.lanczos
 
LanczosState(VectorIterable, int, Vector) - Constructor for class org.apache.mahout.math.decomposer.lanczos.LanczosState
 
lengthSquared - Variable in class org.apache.mahout.math.AbstractVector
 
LESS - Static variable in class org.apache.mahout.math.function.Functions
Function that returns a < b ? 1 : 0.
less(double) - Static method in class org.apache.mahout.math.function.Functions
Constructs a function that returns a < b ? 1 : 0.
LG - Static variable in class org.apache.mahout.math.function.Functions
Function that returns Math.log(a) / Math.log(b).
lg(double) - Static method in class org.apache.mahout.math.function.Functions
Constructs a function that returns Math.log(a) / Math.log(b).
like() - Method in class org.apache.mahout.math.AbstractMatrix.TransposeViewVector
 
like(int) - Method in class org.apache.mahout.math.AbstractMatrix.TransposeViewVector
 
like() - Method in class org.apache.mahout.math.ConstantVector
Return an empty vector of the same underlying class as the receiver
like() - Method in class org.apache.mahout.math.DenseMatrix
 
like(int, int) - Method in class org.apache.mahout.math.DenseMatrix
 
like() - Method in class org.apache.mahout.math.DenseVector
 
like() - Method in class org.apache.mahout.math.DiagonalMatrix
Return an empty matrix of the same underlying class as the receiver
like(int, int) - Method in class org.apache.mahout.math.DiagonalMatrix
Returns an empty matrix of the same underlying class as the receiver and of the specified size.
like() - Method in class org.apache.mahout.math.matrix.DoubleMatrix1D
Deprecated. Construct and returns a new empty matrix of the same dynamic type as the receiver, having the same size.
like(int) - Method in class org.apache.mahout.math.matrix.DoubleMatrix1D
Deprecated. Construct and returns a new empty matrix of the same dynamic type as the receiver, having the specified size.
like() - Method in class org.apache.mahout.math.matrix.DoubleMatrix2D
Deprecated. Construct and returns a new empty matrix of the same dynamic type as the receiver, having the same number of rows and columns.
like(int, int) - Method in class org.apache.mahout.math.matrix.DoubleMatrix2D
Deprecated. Construct and returns a new empty matrix of the same dynamic type as the receiver, having the specified number of rows and columns.
like(int) - Method in class org.apache.mahout.math.matrix.impl.DenseDoubleMatrix1D
Deprecated. Construct and returns a new empty matrix of the same dynamic type as the receiver, having the specified size.
like(int, int) - Method in class org.apache.mahout.math.matrix.impl.DenseDoubleMatrix2D
Deprecated. Construct and returns a new empty matrix of the same dynamic type as the receiver, having the specified number of rows and columns.
like(int) - Method in class org.apache.mahout.math.matrix.impl.SparseDoubleMatrix1D
Deprecated. Construct and returns a new empty matrix of the same dynamic type as the receiver, having the specified size.
like(int, int) - Method in class org.apache.mahout.math.matrix.impl.SparseDoubleMatrix2D
Deprecated. Construct and returns a new empty matrix of the same dynamic type as the receiver, having the specified number of rows and columns.
like() - Method in interface org.apache.mahout.math.Matrix
Return an empty matrix of the same underlying class as the receiver
like(int, int) - Method in interface org.apache.mahout.math.Matrix
Returns an empty matrix of the same underlying class as the receiver and of the specified size.
like() - Method in class org.apache.mahout.math.MatrixVectorView
Return an empty vector of the same underlying class as the receiver
like() - Method in class org.apache.mahout.math.MatrixView
 
like(int, int) - Method in class org.apache.mahout.math.MatrixView
 
like() - Method in class org.apache.mahout.math.NamedVector
 
like() - Method in class org.apache.mahout.math.PermutedVectorView
Return an empty vector of the same underlying class as the receiver
like() - Method in class org.apache.mahout.math.PivotedMatrix
Return an empty matrix of the same underlying class as the receiver
like(int, int) - Method in class org.apache.mahout.math.PivotedMatrix
Returns an empty matrix of the same underlying class as the receiver and of the specified size.
like() - Method in class org.apache.mahout.math.RandomAccessSparseVector
 
like() - Method in class org.apache.mahout.math.RandomTrinaryMatrix
Return an empty matrix of the same underlying class as the receiver
like(int, int) - Method in class org.apache.mahout.math.RandomTrinaryMatrix
Returns an empty matrix of the same underlying class as the receiver and of the specified size.
like() - Method in class org.apache.mahout.math.SequentialAccessSparseVector
 
like() - Method in class org.apache.mahout.math.SparseColumnMatrix
 
like(int, int) - Method in class org.apache.mahout.math.SparseColumnMatrix
 
like() - Method in class org.apache.mahout.math.SparseMatrix
 
like(int, int) - Method in class org.apache.mahout.math.SparseMatrix
 
like() - Method in class org.apache.mahout.math.SparseRowMatrix
 
like(int, int) - Method in class org.apache.mahout.math.SparseRowMatrix
 
like() - Method in interface org.apache.mahout.math.Vector
Return an empty vector of the same underlying class as the receiver
like() - Method in class org.apache.mahout.math.VectorView
 
like1D(int) - Method in class org.apache.mahout.math.matrix.DoubleMatrix2D
Deprecated. Construct and returns a new 1-d matrix of the corresponding dynamic type, entirelly independent of the receiver.
like1D(int, int, int) - Method in class org.apache.mahout.math.matrix.DoubleMatrix2D
Deprecated. Construct and returns a new 1-d matrix of the corresponding dynamic type, sharing the same cells.
like1D(int) - Method in class org.apache.mahout.math.matrix.impl.DenseDoubleMatrix2D
Deprecated. Construct and returns a new 1-d matrix of the corresponding dynamic type, entirelly independent of the receiver.
like1D(int, int, int) - Method in class org.apache.mahout.math.matrix.impl.DenseDoubleMatrix2D
Deprecated. Construct and returns a new 1-d matrix of the corresponding dynamic type, sharing the same cells.
like1D(int) - Method in class org.apache.mahout.math.matrix.impl.SparseDoubleMatrix2D
Deprecated. Construct and returns a new 1-d matrix of the corresponding dynamic type, entirelly independent of the receiver.
like1D(int, int, int) - Method in class org.apache.mahout.math.matrix.impl.SparseDoubleMatrix2D
Deprecated. Construct and returns a new 1-d matrix of the corresponding dynamic type, sharing the same cells.
like2D(int, int) - Method in class org.apache.mahout.math.matrix.DoubleMatrix1D
Deprecated. Construct and returns a new 2-d matrix of the corresponding dynamic type, entirelly independent of the receiver.
like2D(int, int) - Method in class org.apache.mahout.math.matrix.impl.DenseDoubleMatrix1D
Deprecated. Construct and returns a new 2-d matrix of the corresponding dynamic type, entirelly independent of the receiver.
like2D(int, int) - Method in class org.apache.mahout.math.matrix.impl.SparseDoubleMatrix1D
Deprecated. Construct and returns a new 2-d matrix of the corresponding dynamic type, entirelly independent of the receiver.
LOG2 - Static variable in class org.apache.mahout.math.function.Functions
Function that returns Math.log(a) / Math.log(2).
LOGARITHM - Static variable in class org.apache.mahout.math.function.Functions
Function that returns Math.log(a).
logFactorial(int) - Static method in class org.apache.mahout.math.jet.math.Arithmetic
Returns log(k!).
logGamma(double) - Static method in class org.apache.mahout.math.jet.random.Gamma
Returns a quick approximation of log(gamma(x)).
logGamma(double) - Static method in class org.apache.mahout.math.jet.stat.Gamma
Returns the natural logarithm of the gamma function; formerly named lgamma.
LogLikelihood - Class in org.apache.mahout.math.stats
Utility methods for working with log-likelihood
LogLikelihood.ScoredItem<T> - Class in org.apache.mahout.math.stats
 
LogLikelihood.ScoredItem(T, double) - Constructor for class org.apache.mahout.math.stats.LogLikelihood.ScoredItem
 
logLikelihoodRatio(long, long, long, long) - Static method in class org.apache.mahout.math.stats.LogLikelihood
Calculates the Raw Log-likelihood ratio for two events, call them A and B.
logNormalize() - Method in class org.apache.mahout.math.AbstractVector
 
logNormalize(double) - Method in class org.apache.mahout.math.AbstractVector
 
logNormalize(double, double) - Method in class org.apache.mahout.math.AbstractVector
 
logNormalize() - Method in class org.apache.mahout.math.NamedVector
 
logNormalize(double) - Method in class org.apache.mahout.math.NamedVector
 
logNormalize() - Method in interface org.apache.mahout.math.Vector
Return a new vector containing the log(1 + entry)/ L_2 norm values of the recipient
logNormalize(double) - Method in interface org.apache.mahout.math.Vector
Return a new Vector with a normalized value calculated as log_power(1 + entry)/ L_power norm.
LOGPI - Static variable in class org.apache.mahout.math.jet.math.Constants
 
longSeedtoBytes(long) - Static method in class org.apache.mahout.common.RandomUtils
 
lowerBandwidth(DoubleMatrix2D) - Method in class org.apache.mahout.math.matrix.linalg.Property
Deprecated. The lower bandwidth of a square matrix A is the maximum i-j for which A[i,j] is nonzero and i > j.
LSMR - Class in org.apache.mahout.math.solver
Solves sparse least-squares using the LSMR algorithm.
LSMR() - Constructor for class org.apache.mahout.math.solver.LSMR
LSMR uses an iterative method to solve a linear system.

M

MACHEP - Static variable in class org.apache.mahout.math.jet.math.Constants
 
main(String[]) - Static method in class org.apache.mahout.math.decomposer.hebbian.HebbianSolver
 
mathIEEEremainder(double) - Static method in class org.apache.mahout.math.function.Functions
Constructs a function that returns Math.IEEEremainder(a,b).
Matrix - Interface in org.apache.mahout.math
The basic interface including numerous convenience functions
matrixLike(int, int) - Method in class org.apache.mahout.math.AbstractMatrix.TransposeViewVector
 
matrixLike(int, int) - Method in class org.apache.mahout.math.AbstractVector
Subclasses must override to return an appropriately sparse or dense result
matrixLike(int, int) - Method in class org.apache.mahout.math.ConstantVector
Subclasses must override to return an appropriately sparse or dense result
matrixLike(int, int) - Method in class org.apache.mahout.math.DenseVector
 
matrixLike(int, int) - Method in class org.apache.mahout.math.MatrixVectorView
Subclasses must override to return an appropriately sparse or dense result
matrixLike(int, int) - Method in class org.apache.mahout.math.PermutedVectorView
Subclasses must override to return an appropriately sparse or dense result
matrixLike(int, int) - Method in class org.apache.mahout.math.RandomAccessSparseVector
 
matrixLike(int, int) - Method in class org.apache.mahout.math.SequentialAccessSparseVector
 
matrixLike(int, int) - Method in class org.apache.mahout.math.VectorView
 
MatrixSlice - Class in org.apache.mahout.math
 
MatrixSlice(Vector, int) - Constructor for class org.apache.mahout.math.MatrixSlice
 
MatrixVectorView - Class in org.apache.mahout.math
Provides a virtual vector that is really a row or column or diagonal of a matrix.
MatrixVectorView(Matrix, int, int, int, int) - Constructor for class org.apache.mahout.math.MatrixVectorView
 
MatrixView - Class in org.apache.mahout.math
Implements subset view of a Matrix
MatrixView(Matrix, int[], int[]) - Constructor for class org.apache.mahout.math.MatrixView
Construct a view of the matrix with given offset and cardinality
MAX - Static variable in class org.apache.mahout.math.function.Functions
Function that returns Math.max(a,b).
max(double) - Static method in class org.apache.mahout.math.function.Functions
Constructs a function that returns Math.max(a,b).
MAX_INT_SMALLER_TWIN_PRIME - Static variable in class org.apache.mahout.common.RandomUtils
The largest prime less than 231-1 that is the smaller of a twin prime pair.
MAXGAM - Static variable in class org.apache.mahout.math.jet.math.Constants
 
MAXLOG - Static variable in class org.apache.mahout.math.jet.math.Constants
 
maxValue() - Method in class org.apache.mahout.math.AbstractVector
 
maxValue() - Method in class org.apache.mahout.math.NamedVector
 
maxValue() - Method in interface org.apache.mahout.math.Vector
 
maxValueIndex() - Method in class org.apache.mahout.math.AbstractVector
 
maxValueIndex() - Method in class org.apache.mahout.math.NamedVector
 
maxValueIndex() - Method in interface org.apache.mahout.math.Vector
 
mean() - Method in class org.apache.mahout.math.stats.OnlineExponentialAverage
 
meanRate() - Method in class org.apache.mahout.math.stats.OnlineExponentialAverage
 
MersenneTwister - Class in org.apache.mahout.math.jet.random.engine
MersenneTwister (MT19937) is one of the strongest uniform pseudo-random number generators known so far; at the same time it is quick.
MersenneTwister() - Constructor for class org.apache.mahout.math.jet.random.engine.MersenneTwister
Constructs and returns a random number generator with a default seed, which is a constant.
MersenneTwister(int) - Constructor for class org.apache.mahout.math.jet.random.engine.MersenneTwister
Constructs and returns a random number generator with the given seed.
MersenneTwister(Date) - Constructor for class org.apache.mahout.math.jet.random.engine.MersenneTwister
Constructs and returns a random number generator seeded with the given date.
MIN - Static variable in class org.apache.mahout.math.function.Functions
Function that returns Math.min(a,b).
min(double) - Static method in class org.apache.mahout.math.function.Functions
Constructs a function that returns Math.min(a,b).
MINLOG - Static variable in class org.apache.mahout.math.jet.math.Constants
 
minus(Matrix) - Method in class org.apache.mahout.math.AbstractMatrix
 
minus(Vector) - Method in class org.apache.mahout.math.AbstractVector
 
MINUS - Static variable in class org.apache.mahout.math.function.Functions
Function that returns a - b.
minus(double) - Static method in class org.apache.mahout.math.function.Functions
Constructs a function that returns a - b.
minus(Matrix) - Method in interface org.apache.mahout.math.Matrix
Return a new matrix containing the element by element difference of the recipient and the argument
minus(Vector) - Method in class org.apache.mahout.math.NamedVector
 
minus(Vector) - Method in class org.apache.mahout.math.SequentialAccessSparseVector
 
minus(Vector) - Method in interface org.apache.mahout.math.Vector
Return a new vector containing the element by element difference of the recipient and the argument
minusMult(double) - Static method in class org.apache.mahout.math.function.Functions
Constructs a function that returns a - b*constant.
minusMult(double) - Static method in class org.apache.mahout.math.function.PlusMult
a - b*constant.
minValue() - Method in class org.apache.mahout.math.AbstractVector
 
minValue() - Method in class org.apache.mahout.math.NamedVector
 
minValue() - Method in interface org.apache.mahout.math.Vector
 
minValueIndex() - Method in class org.apache.mahout.math.AbstractVector
 
minValueIndex() - Method in class org.apache.mahout.math.NamedVector
 
minValueIndex() - Method in interface org.apache.mahout.math.Vector
 
MOD - Static variable in class org.apache.mahout.math.function.Functions
Function that returns a % b.
mod(double) - Static method in class org.apache.mahout.math.function.Functions
Constructs a function that returns a % b.
mostRecentEigen() - Method in class org.apache.mahout.math.decomposer.hebbian.TrainingState
 
mult(Matrix, Vector) - Static method in class org.apache.mahout.math.Algebra
 
MULT - Static variable in class org.apache.mahout.math.function.Functions
Function that returns a * b.
mult(double) - Static method in class org.apache.mahout.math.function.Functions
Constructs a function that returns a * b.
Mult - Class in org.apache.mahout.math.function
Only for performance tuning of compute intensive linear algebraic computations.
mult(double) - Static method in class org.apache.mahout.math.function.Mult
a * constant.
MurmurHash - Class in org.apache.mahout.math
This is a very fast, non-cryptographic hash suitable for general hash-based lookup.
MurmurHash3 - Class in org.apache.mahout.math
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.
murmurhash3_x86_32(byte[], int, int, int) - Static method in class org.apache.mahout.math.MurmurHash3
Returns the MurmurHash3_x86_32 hash.

N

NamedVector - Class in org.apache.mahout.math
 
NamedVector() - Constructor for class org.apache.mahout.math.NamedVector
 
NamedVector(NamedVector) - Constructor for class org.apache.mahout.math.NamedVector
 
NamedVector(Vector, String) - Constructor for class org.apache.mahout.math.NamedVector
 
NEGATE - Static variable in class org.apache.mahout.math.function.Functions
Function that returns -a.
NegativeBinomial - Class in org.apache.mahout.math.jet.random
Mostly deprecated until unit tests are in place.
NegativeBinomial(int, double, Random) - Constructor for class org.apache.mahout.math.jet.random.NegativeBinomial
Constructs a Negative Binomial distribution which describes the probability of getting a particular number of negative trials (k) before getting a fixed number of positive trials (r) where each positive trial has probability (p) of being successful.
negativeBinomial(int, int, double) - Static method in class org.apache.mahout.math.jet.stat.Probability
Returns the sum of the terms 0 through k of the Negative Binomial Distribution.
newVector(int) - Method in class org.apache.mahout.math.AbstractMatrix.TransposeViewVector
 
next(int) - Method in class org.apache.mahout.common.RandomWrapper
 
nextBoolean() - Method in class org.apache.mahout.common.RandomWrapper
 
nextBoolean() - Method in class org.apache.mahout.math.jet.random.Uniform
Returns a uniformly distributed random boolean.
nextBytes(byte[]) - Method in class org.apache.mahout.common.RandomWrapper
 
nextDouble() - Method in class org.apache.mahout.common.RandomWrapper
 
nextDouble() - Method in class org.apache.mahout.math.jet.random.AbstractDiscreteDistribution
Returns a random number from the distribution; returns (double) nextInt().
nextDouble() - Method in class org.apache.mahout.math.jet.random.AbstractDistribution
Returns a random number from the distribution.
nextDouble() - Method in class org.apache.mahout.math.jet.random.engine.RandomEngine
 
nextDouble() - Method in class org.apache.mahout.math.jet.random.Exponential
Returns a random number from the distribution.
nextDouble() - Method in class org.apache.mahout.math.jet.random.Gamma
Returns a random number from the distribution.
nextDouble(double, double) - Method in class org.apache.mahout.math.jet.random.Gamma
Returns a random number from the distribution; bypasses the internal state.
nextDouble() - Method in class org.apache.mahout.math.jet.random.Normal
Returns a random number from the distribution.
nextDouble() - Method in class org.apache.mahout.math.jet.random.Uniform
Returns a uniformly distributed random number in the open interval (min,max) (excluding min and max).
nextDoubleFromTo(double, double) - Method in class org.apache.mahout.math.jet.random.Uniform
Returns a uniformly distributed random number in the open interval (from,to) (excluding from and to).
nextFloat() - Method in class org.apache.mahout.common.RandomWrapper
 
nextFloat() - Method in class org.apache.mahout.math.jet.random.engine.RandomEngine
 
nextFloatFromTo(float, float) - Method in class org.apache.mahout.math.jet.random.Uniform
Returns a uniformly distributed random number in the open interval (from,to) (excluding from and to).
nextGaussian() - Method in class org.apache.mahout.common.RandomWrapper
 
nextInt() - Method in class org.apache.mahout.common.RandomWrapper
 
nextInt(int) - Method in class org.apache.mahout.common.RandomWrapper
 
nextInt() - Method in class org.apache.mahout.math.jet.random.AbstractContinousDistribution
 
nextInt() - Method in class org.apache.mahout.math.jet.random.AbstractDistribution
 
nextInt() - Method in class org.apache.mahout.math.jet.random.engine.MersenneTwister
Returns a 32 bit uniformly distributed random number in the closed interval [Integer.MIN_VALUE,Integer.MAX_VALUE] (including Integer.MIN_VALUE and Integer.MAX_VALUE).
nextInt() - Method in class org.apache.mahout.math.jet.random.engine.RandomEngine
 
nextInt() - Method in class org.apache.mahout.math.jet.random.NegativeBinomial
 
nextInt(int, double) - Method in class org.apache.mahout.math.jet.random.NegativeBinomial
Returns a sample from this distribution.
nextInt() - Method in class org.apache.mahout.math.jet.random.Poisson
 
nextInt(double) - Method in class org.apache.mahout.math.jet.random.Poisson
Returns a random number from the distribution; bypasses the internal state.
nextIntFromTo(int, int) - Method in class org.apache.mahout.math.jet.random.Uniform
Returns a uniformly distributed random number in the closed interval [from,to] (including from and to).
nextLong() - Method in class org.apache.mahout.common.RandomWrapper
 
nextLong() - Method in class org.apache.mahout.math.jet.random.engine.RandomEngine
 
nextLongFromTo(long, long) - Method in class org.apache.mahout.math.jet.random.Uniform
Returns a uniformly distributed random number in the closed interval [from,to] (including from and to).
nextPrime(int) - Static method in class org.apache.mahout.common.RandomUtils
Finds smallest prime p such that p is greater than or equal to n.
nextTwinPrime(int) - Static method in class org.apache.mahout.common.RandomUtils
Finds next-largest "twin primes": numbers p and p+2 such that both are prime.
norm(double) - Method in class org.apache.mahout.math.AbstractVector
 
norm(double) - Method in class org.apache.mahout.math.NamedVector
 
norm(double) - Method in interface org.apache.mahout.math.Vector
Return the k-norm of the vector.
norm2() - Method in class org.apache.mahout.math.SingularValueDecomposition
Returns the two norm, which is max(S).
Normal - Class in org.apache.mahout.math.jet.random
Implements a normal distribution specified mean and standard deviation.
Normal(double, double, Random) - Constructor for class org.apache.mahout.math.jet.random.Normal
 
normal(double) - Static method in class org.apache.mahout.math.jet.stat.Probability
Returns the area under the Normal (Gaussian) probability density function, integrated from minus infinity to x (assumes mean is zero, variance is one).
normal(double, double, double) - Static method in class org.apache.mahout.math.jet.stat.Probability
Returns the area under the Normal (Gaussian) probability density function, integrated from minus infinity to x.
normalize() - Method in class org.apache.mahout.math.AbstractVector
 
normalize(double) - Method in class org.apache.mahout.math.AbstractVector
 
normalize() - Method in class org.apache.mahout.math.NamedVector
 
normalize(double) - Method in class org.apache.mahout.math.NamedVector
 
normalize() - Method in interface org.apache.mahout.math.Vector
Return a new vector containing the normalized (L_2 norm) values of the recipient
normalize(double) - Method in interface org.apache.mahout.math.Vector
Return a new Vector containing the normalized (L_power norm) values of the recipient.
numCols() - Method in class org.apache.mahout.math.AbstractMatrix
 
numCols() - Method in interface org.apache.mahout.math.VectorIterable
 
numRows() - Method in class org.apache.mahout.math.AbstractMatrix
 
numRows() - Method in interface org.apache.mahout.math.VectorIterable
 
numSlices() - Method in class org.apache.mahout.math.AbstractMatrix
Abstracted out for the iterator
numSlices() - Method in class org.apache.mahout.math.SparseColumnMatrix
Abstracted out for the iterator
numSlices() - Method in interface org.apache.mahout.math.VectorIterable
 

O

offset(int) - Method in class org.apache.mahout.math.matrix.impl.AbstractMatrix1D
Deprecated. Returns the position of the given absolute rank within the (virtual or non-virtual) internal 1-dimensional array.
OnlineExponentialAverage - Class in org.apache.mahout.math.stats
Computes an online average that is exponentially weighted toward recent time-embedded samples.
OnlineExponentialAverage(double) - Constructor for class org.apache.mahout.math.stats.OnlineExponentialAverage
Creates an averager that has a specified time constant for discounting old data.
OnlineSummarizer - Class in org.apache.mahout.math.stats
Computes on-line estimates of mean, variance and all five quartiles (notably including the median).
OnlineSummarizer() - Constructor for class org.apache.mahout.math.stats.OnlineSummarizer
 
org.apache.mahout.common - package org.apache.mahout.common
 
org.apache.mahout.math - package org.apache.mahout.math
Core base classes; Operations on primitive arrays such as sorting, partitioning and permuting.
org.apache.mahout.math.als - package org.apache.mahout.math.als
 
org.apache.mahout.math.decomposer - package org.apache.mahout.math.decomposer
 
org.apache.mahout.math.decomposer.hebbian - package org.apache.mahout.math.decomposer.hebbian
 
org.apache.mahout.math.decomposer.lanczos - package org.apache.mahout.math.decomposer.lanczos
 
org.apache.mahout.math.function - package org.apache.mahout.math.function
Core interfaces for functions, comparisons and procedures on objects and primitive data types.
org.apache.mahout.math.jet.math - package org.apache.mahout.math.jet.math
Tools for basic and advanced mathematics: Arithmetics and Algebra, Polynomials and Chebyshev series, Bessel and Airy functions, Function Objects for generic function evaluation, etc.
org.apache.mahout.math.jet.random - package org.apache.mahout.math.jet.random
 
org.apache.mahout.math.jet.random.engine - package org.apache.mahout.math.jet.random.engine
Engines generating strong uniformly distributed pseudo-random numbers; Needed by all JET probability distributions since they rely on uniform random numbers to generate random numbers from their own distribution.
org.apache.mahout.math.jet.random.sampling - package org.apache.mahout.math.jet.random.sampling
 
org.apache.mahout.math.jet.stat - package org.apache.mahout.math.jet.stat
Tools for basic and advanced statistics: Estimators, Gamma functions, Beta functions, Probabilities, Special integrals, etc.
org.apache.mahout.math.matrix - package org.apache.mahout.math.matrix
 
org.apache.mahout.math.matrix.impl - package org.apache.mahout.math.matrix.impl
Matrix implementations; You normally need not look at this package, because all concrete classes implement the abstract interfaces of org.apache.mahout.math.matrix, without subsetting or supersetting.
org.apache.mahout.math.matrix.linalg - package org.apache.mahout.math.matrix.linalg
 
org.apache.mahout.math.solver - package org.apache.mahout.math.solver
 
org.apache.mahout.math.ssvd - package org.apache.mahout.math.ssvd
 
org.apache.mahout.math.stats - package org.apache.mahout.math.stats
 
orthoganalizeAgainstAllButLast(Vector, LanczosState) - Method in class org.apache.mahout.math.decomposer.lanczos.LanczosSolver
 
OrthonormalityVerifier - Class in org.apache.mahout.math
 

P

p1evl(double, double[], int) - Static method in class org.apache.mahout.math.jet.math.Polynomial
Evaluates the given polynomial of degree N at x, assuming coefficient of N is 1.0.
pairwiseInnerProducts(Iterable<MatrixSlice>) - Static method in class org.apache.mahout.math.OrthonormalityVerifier
 
pdf(double) - Method in class org.apache.mahout.math.jet.random.AbstractContinousDistribution
 
pdf(double) - Method in class org.apache.mahout.math.jet.random.Exponential
Returns the value of the probability density function at a particular point.
pdf(double) - Method in class org.apache.mahout.math.jet.random.Gamma
Returns the probability distribution function.
pdf(int) - Method in class org.apache.mahout.math.jet.random.NegativeBinomial
Returns the probability distribution function.
pdf(double) - Method in class org.apache.mahout.math.jet.random.Normal
Returns the probability density function.
pdf(double) - Method in class org.apache.mahout.math.jet.random.Uniform
Returns the probability distribution function (assuming a continous uniform distribution).
permute(int[], Swapper, int[], int[]) - Static method in class org.apache.mahout.math.GenericPermuting
Deprecated. Generically reorders arbitrary shaped generic data g such that g[i] == g[indexes[i]].
PermutedVectorView - Class in org.apache.mahout.math
Provides a permuted view of a vector.
PermutedVectorView(Vector, int[], int[]) - Constructor for class org.apache.mahout.math.PermutedVectorView
 
PermutedVectorView(Vector, int[]) - Constructor for class org.apache.mahout.math.PermutedVectorView
 
PivotedMatrix - Class in org.apache.mahout.math
Matrix that allows transparent row and column permutation.
PivotedMatrix(Matrix, int[]) - Constructor for class org.apache.mahout.math.PivotedMatrix
 
PivotedMatrix(Matrix, int[], int[]) - Constructor for class org.apache.mahout.math.PivotedMatrix
 
PivotedMatrix(Matrix) - Constructor for class org.apache.mahout.math.PivotedMatrix
 
plus(double) - Method in class org.apache.mahout.math.AbstractMatrix
 
plus(Matrix) - Method in class org.apache.mahout.math.AbstractMatrix
 
plus(double) - Method in class org.apache.mahout.math.AbstractVector
 
plus(Vector) - Method in class org.apache.mahout.math.AbstractVector
 
PLUS - Static variable in class org.apache.mahout.math.function.Functions
Function that returns a + b.
plus(double) - Static method in class org.apache.mahout.math.function.Functions
Constructs a function that returns a + b.
plus(double) - Method in interface org.apache.mahout.math.Matrix
Return a new matrix containing the sum of each value of the recipient and the argument
plus(Matrix) - Method in interface org.apache.mahout.math.Matrix
Return a new matrix containing the element by element sum of the recipient and the argument
plus(double) - Method in class org.apache.mahout.math.NamedVector
 
plus(Vector) - Method in class org.apache.mahout.math.NamedVector
 
plus(double) - Method in interface org.apache.mahout.math.Vector
Return a new vector containing the sum of each value of the recipient and the argument
plus(Vector) - Method in interface org.apache.mahout.math.Vector
Return a new vector containing the element by element sum of the recipient and the argument
PLUS_ABS - Static variable in class org.apache.mahout.math.function.Functions
Function that returns Math.abs(a) + Math.abs(b).
plusMult(double) - Static method in class org.apache.mahout.math.function.Functions
Constructs a function that returns a + b*constant.
PlusMult - Class in org.apache.mahout.math.function
Only for performance tuning of compute intensive linear algebraic computations.
PlusMult(double) - Constructor for class org.apache.mahout.math.function.PlusMult
 
plusMult(double) - Static method in class org.apache.mahout.math.function.PlusMult
a + b*constant.
Poisson - Class in org.apache.mahout.math.jet.random
Partially deprecated until unit tests are in place.
Poisson(double, Random) - Constructor for class org.apache.mahout.math.jet.random.Poisson
Constructs a poisson distribution.
poisson(int, double) - Static method in class org.apache.mahout.math.jet.stat.Probability
Returns the sum of the first k terms of the Poisson distribution.
polevl(double, double[], int) - Static method in class org.apache.mahout.math.jet.math.Polynomial
Evaluates the given polynomial of degree N at x.
Polynomial - Class in org.apache.mahout.math.jet.math
Polynomial functions.
POW - Static variable in class org.apache.mahout.math.function.Functions
Function that returns Math.pow(a,b).
pow(double) - Static method in class org.apache.mahout.math.function.Functions
Constructs a function that returns Math.pow(a,b).
precondition(Vector) - Method in class org.apache.mahout.math.solver.JacobiConditioner
 
precondition(Vector) - Method in interface org.apache.mahout.math.solver.Preconditioner
Preconditions the specified vector.
Preconditioner - Interface in org.apache.mahout.math.solver
Interface for defining preconditioners used for improving the performance and/or stability of linear system solvers.
Probability - Class in org.apache.mahout.math.jet.stat
Partially deprecated until unit tests are in place.
Property - Class in org.apache.mahout.math.matrix.linalg
Deprecated. until unit tests are in place. Until this time, this class/interface is unsupported.
Property(double) - Constructor for class org.apache.mahout.math.matrix.linalg.Property
Deprecated. Constructs an instance with a tolerance of Math.abs(newTolerance).

Q

QRDecomposition - Class in org.apache.mahout.math
partially deprecated until unit tests are in place.
QRDecomposition(Matrix) - Constructor for class org.apache.mahout.math.QRDecomposition
Constructs and returns a new QR decomposition object; computed by Householder reflections; The decomposed matrices can be retrieved via instance methods of the returned decomposition object.

R

random() - Static method in class org.apache.mahout.math.function.Functions
Constructs a function that returns a new uniform random number in the open unit interval (0.0,1.0) (excluding 0.0 and 1.0).
RandomAccessSparseVector - Class in org.apache.mahout.math
Implements vector that only stores non-zero doubles
RandomAccessSparseVector() - Constructor for class org.apache.mahout.math.RandomAccessSparseVector
For serialization purposes only.
RandomAccessSparseVector(int) - Constructor for class org.apache.mahout.math.RandomAccessSparseVector
 
RandomAccessSparseVector(int, int) - Constructor for class org.apache.mahout.math.RandomAccessSparseVector
 
RandomAccessSparseVector(Vector) - Constructor for class org.apache.mahout.math.RandomAccessSparseVector
 
RandomAccessSparseVector(RandomAccessSparseVector, boolean) - Constructor for class org.apache.mahout.math.RandomAccessSparseVector
 
randomDouble() - Method in class org.apache.mahout.math.jet.random.AbstractDistribution
 
RandomEngine - Class in org.apache.mahout.math.jet.random.engine
Abstract base class for uniform pseudo-random number generating engines.
RandomEngine() - Constructor for class org.apache.mahout.math.jet.random.engine.RandomEngine
 
RandomSampler - Class in org.apache.mahout.math.jet.random.sampling
Space and time efficiently computes a sorted Simple Random Sample Without Replacement (SRSWOR), that is, a sorted set of n random numbers from an interval of N numbers; Example: Computing n=3 random numbers from the interval [1,50] may yield the sorted random set (7,13,47).
RandomTrinaryMatrix - Class in org.apache.mahout.math
Random matrix.
RandomTrinaryMatrix(int, int, int, boolean) - Constructor for class org.apache.mahout.math.RandomTrinaryMatrix
 
RandomTrinaryMatrix(int, int) - Constructor for class org.apache.mahout.math.RandomTrinaryMatrix
 
RandomUtils - Class in org.apache.mahout.common
The source of random stuff for the whole project.
RandomWrapper - Class in org.apache.mahout.common
 
rank(int) - Method in class org.apache.mahout.math.matrix.impl.AbstractMatrix1D
Deprecated. Returns the absolute rank of the given relative rank.
rank() - Method in class org.apache.mahout.math.SingularValueDecomposition
Returns the effective numerical matrix rank, which is the number of nonnegligible singular values.
raw() - Method in class org.apache.mahout.math.jet.random.engine.RandomEngine
 
RINT - Static variable in class org.apache.mahout.math.function.Functions
Function that returns Math.rint(a).
rootLogLikelihoodRatio(long, long, long, long) - Static method in class org.apache.mahout.math.stats.LogLikelihood
Calculates the root log-likelihood ratio for two events.
round(double) - Static method in class org.apache.mahout.math.function.Functions
Constructs a function that returns the number rounded to the given precision; Math.rint(a/precision)*precision.
ROW - Static variable in class org.apache.mahout.math.AbstractMatrix
 
rowLabelBindings - Variable in class org.apache.mahout.math.AbstractMatrix
 
rowOffset(int) - Method in class org.apache.mahout.math.matrix.impl.AbstractMatrix2D
Deprecated. Returns the position of the given absolute rank within the (virtual or non-virtual) internal 1-dimensional array.
rowRank(int) - Method in class org.apache.mahout.math.matrix.impl.AbstractMatrix2D
Deprecated. Returns the absolute rank of the given relative rank.
rows - Variable in class org.apache.mahout.math.AbstractMatrix
 
rows - Variable in class org.apache.mahout.math.matrix.impl.AbstractMatrix2D
Deprecated.  
rows() - Method in class org.apache.mahout.math.matrix.impl.AbstractMatrix2D
Deprecated. Returns the number of rows.
rowSize() - Method in class org.apache.mahout.math.AbstractMatrix
 
rowSize() - Method in interface org.apache.mahout.math.Matrix
 
rowStride - Variable in class org.apache.mahout.math.matrix.impl.AbstractMatrix2D
Deprecated. the number of elements between two rows, i.e.
rowUnpivot(int) - Method in class org.apache.mahout.math.PivotedMatrix
 
rowZero - Variable in class org.apache.mahout.math.matrix.impl.AbstractMatrix2D
Deprecated. the index of the first element

S

SAFE_MAX - Static variable in class org.apache.mahout.math.decomposer.lanczos.LanczosSolver
 
sample(long, long, int, long, long[], int, Random) - Static method in class org.apache.mahout.math.jet.random.sampling.RandomSampler
Efficiently computes a sorted random set of count elements from the interval [low,low+N-1].
scaleFactor - Variable in class org.apache.mahout.math.decomposer.lanczos.LanczosState
 
seedBytesToLong(byte[]) - Static method in class org.apache.mahout.common.RandomUtils
 
semiBandwidth(DoubleMatrix2D) - Method in class org.apache.mahout.math.matrix.linalg.Property
Deprecated. Returns the semi-bandwidth of the given square matrix A.
SequentialAccessSparseVector - Class in org.apache.mahout.math
Implements vector that only stores non-zero doubles as a pair of parallel arrays (OrderedIntDoubleMapping), one int[], one double[].
SequentialAccessSparseVector() - Constructor for class org.apache.mahout.math.SequentialAccessSparseVector
For serialization purposes only.
SequentialAccessSparseVector(int) - Constructor for class org.apache.mahout.math.SequentialAccessSparseVector
 
SequentialAccessSparseVector(int, int) - Constructor for class org.apache.mahout.math.SequentialAccessSparseVector
 
SequentialAccessSparseVector(Vector) - Constructor for class org.apache.mahout.math.SequentialAccessSparseVector
 
SequentialAccessSparseVector(SequentialAccessSparseVector, boolean) - Constructor for class org.apache.mahout.math.SequentialAccessSparseVector
 
SequentialAccessSparseVector(SequentialAccessSparseVector) - Constructor for class org.apache.mahout.math.SequentialAccessSparseVector
 
SequentialBigSvd - Class in org.apache.mahout.math.ssvd
Implements an in-memory version of stochastic projection based SVD.
SequentialBigSvd(Matrix, int) - Constructor for class org.apache.mahout.math.ssvd.SequentialBigSvd
 
set(String, double[]) - Method in class org.apache.mahout.math.AbstractMatrix
 
set(String, int, double[]) - Method in class org.apache.mahout.math.AbstractMatrix
 
set(String, String, double) - Method in class org.apache.mahout.math.AbstractMatrix
 
set(String, String, int, int, double) - Method in class org.apache.mahout.math.AbstractMatrix
 
set(int, int, double) - Method in class org.apache.mahout.math.AbstractMatrix
 
set(int, double[]) - Method in class org.apache.mahout.math.AbstractMatrix
 
set(double) - Method in class org.apache.mahout.math.AbstractVector.LocalElement
 
set(int, double) - Method in class org.apache.mahout.math.AbstractVector
 
set(int, double) - Method in class org.apache.mahout.math.matrix.DoubleMatrix1D
Deprecated. Sets the matrix cell at coordinate index to the specified value.
set(int, int, double) - Method in class org.apache.mahout.math.matrix.DoubleMatrix2D
Deprecated. Sets the matrix cell at coordinate [row,column] to the specified value.
set(int, int, double) - Method in interface org.apache.mahout.math.Matrix
Set the value at the given index
set(int, double[]) - Method in interface org.apache.mahout.math.Matrix
 
set(String, String, double) - Method in interface org.apache.mahout.math.Matrix
Set the value at the given index
set(String, String, int, int, double) - Method in interface org.apache.mahout.math.Matrix
Set the value at the given index, updating the row and column label bindings
set(String, double[]) - Method in interface org.apache.mahout.math.Matrix
Sets the row values at the given row label
set(String, int, double[]) - Method in interface org.apache.mahout.math.Matrix
Sets the row values at the given row index and updates the row labels
set(int, double) - Method in class org.apache.mahout.math.NamedVector
 
set(double) - Method in interface org.apache.mahout.math.Vector.Element
 
set(int, double) - Method in interface org.apache.mahout.math.Vector
Set the value at the given index
setActivationDenominatorSquared(double) - Method in class org.apache.mahout.math.decomposer.hebbian.TrainingState
 
setActivationNumerator(double) - Method in class org.apache.mahout.math.decomposer.hebbian.TrainingState
 
setAtolerance(double) - Method in class org.apache.mahout.math.solver.LSMR
 
setBasisVector(int, Vector) - Method in class org.apache.mahout.math.decomposer.lanczos.LanczosState
 
setBtolerance(double) - Method in class org.apache.mahout.math.solver.LSMR
 
setColumnLabelBindings(Map<String, Integer>) - Method in class org.apache.mahout.math.AbstractMatrix
 
setColumnLabelBindings(Map<String, Integer>) - Method in interface org.apache.mahout.math.Matrix
Sets a map of column label bindings in the receiver
setConditionLimit(double) - Method in class org.apache.mahout.math.solver.LSMR
 
setCurrentEigens(Matrix) - Method in class org.apache.mahout.math.decomposer.hebbian.TrainingState
 
setCurrentEigenValues(List<Double>) - Method in class org.apache.mahout.math.decomposer.hebbian.TrainingState
 
setFirstPass(boolean) - Method in class org.apache.mahout.math.decomposer.hebbian.TrainingState
 
setHelperVector(Vector) - Method in class org.apache.mahout.math.decomposer.hebbian.TrainingState
 
setIterationLimit(int) - Method in class org.apache.mahout.math.solver.LSMR
 
setIterationNumber(int) - Method in class org.apache.mahout.math.decomposer.lanczos.LanczosState
 
setLocalSize(int) - Method in class org.apache.mahout.math.solver.LSMR
 
setMultiplicator(double) - Method in class org.apache.mahout.math.function.Mult
 
setMultiplicator(double) - Method in class org.apache.mahout.math.function.PlusMult
 
setNumEigensProcessed(int) - Method in class org.apache.mahout.math.decomposer.hebbian.TrainingState
 
setQuick(int, double) - Method in class org.apache.mahout.math.AbstractMatrix.TransposeViewVector
 
setQuick(int, double) - Method in class org.apache.mahout.math.ConstantVector
Set the value at the given index, without checking bounds
setQuick(int, int, double) - Method in class org.apache.mahout.math.DenseMatrix
 
setQuick(int, double) - Method in class org.apache.mahout.math.DenseVector
 
setQuick(int, int, double) - Method in class org.apache.mahout.math.DiagonalMatrix
 
setQuick(int, double) - Method in class org.apache.mahout.math.matrix.DoubleMatrix1D
Deprecated. Sets the matrix cell at coordinate index to the specified value.
setQuick(int, int, double) - Method in class org.apache.mahout.math.matrix.DoubleMatrix2D
Deprecated. Sets the matrix cell at coordinate [row,column] to the specified value.
setQuick(int, double) - Method in class org.apache.mahout.math.matrix.impl.DenseDoubleMatrix1D
Deprecated. Sets the matrix cell at coordinate index to the specified value.
setQuick(int, int, double) - Method in class org.apache.mahout.math.matrix.impl.DenseDoubleMatrix2D
Deprecated. Sets the matrix cell at coordinate [row,column] to the specified value.
setQuick(int, double) - Method in class org.apache.mahout.math.matrix.impl.SparseDoubleMatrix1D
Deprecated. Sets the matrix cell at coordinate index to the specified value.
setQuick(int, int, double) - Method in class org.apache.mahout.math.matrix.impl.SparseDoubleMatrix2D
Deprecated. Sets the matrix cell at coordinate [row,column] to the specified value.
setQuick(int, int, double) - Method in interface org.apache.mahout.math.Matrix
Set the value at the given index, without checking bounds
setQuick(int, double) - Method in class org.apache.mahout.math.MatrixVectorView
Set the value at the given index, without checking bounds
setQuick(int, int, double) - Method in class org.apache.mahout.math.MatrixView
 
setQuick(int, double) - Method in class org.apache.mahout.math.NamedVector
 
setQuick(int, double) - Method in class org.apache.mahout.math.PermutedVectorView
Set the value at the given index, without checking bounds
setQuick(int, int, double) - Method in class org.apache.mahout.math.PivotedMatrix
Set the value at the given index, without checking bounds
setQuick(int, double) - Method in class org.apache.mahout.math.RandomAccessSparseVector
 
setQuick(int, int, double) - Method in class org.apache.mahout.math.RandomTrinaryMatrix
Set the value at the given index, without checking bounds
setQuick(int, double) - Method in class org.apache.mahout.math.SequentialAccessSparseVector
 
setQuick(int, int, double) - Method in class org.apache.mahout.math.SparseColumnMatrix
 
setQuick(int, int, double) - Method in class org.apache.mahout.math.SparseMatrix
 
setQuick(int, int, double) - Method in class org.apache.mahout.math.SparseRowMatrix
 
setQuick(int, double) - Method in interface org.apache.mahout.math.Vector
Set the value at the given index, without checking bounds
setQuick(int, double) - Method in class org.apache.mahout.math.VectorView
 
setRandomGenerator(Random) - Method in class org.apache.mahout.math.jet.random.AbstractDistribution
Sets the uniform random generator internally used.
setRandomGenerator(Random) - Method in class org.apache.mahout.math.jet.random.Normal
Sets the uniform random generator internally used.
setRightSingularVector(int, Vector) - Method in class org.apache.mahout.math.decomposer.lanczos.LanczosState
 
setRowLabelBindings(Map<String, Integer>) - Method in class org.apache.mahout.math.AbstractMatrix
 
setRowLabelBindings(Map<String, Integer>) - Method in interface org.apache.mahout.math.Matrix
Sets a map of row label bindings in the receiver
setScaleFactor(double) - Method in class org.apache.mahout.math.decomposer.lanczos.LanczosState
 
setSeed(long) - Method in class org.apache.mahout.common.RandomWrapper
 
setSingularValue(int, double) - Method in class org.apache.mahout.math.decomposer.lanczos.LanczosState
 
setState(double) - Method in class org.apache.mahout.math.jet.random.Exponential
Sets the rate parameter.
setState(double, double) - Method in class org.apache.mahout.math.jet.random.Normal
Sets the mean and variance.
setState(double, double) - Method in class org.apache.mahout.math.jet.random.Uniform
Sets the internal state.
setStatusProgress(List<EigenStatus>) - Method in class org.apache.mahout.math.decomposer.hebbian.TrainingState
 
setTrainingIndex(int) - Method in class org.apache.mahout.math.decomposer.hebbian.TrainingState
 
setTrainingProjections(Matrix) - Method in class org.apache.mahout.math.decomposer.hebbian.TrainingState
 
setUp(int) - Method in class org.apache.mahout.math.matrix.impl.AbstractMatrix1D
Deprecated. Sets up a matrix with a given number of cells.
setUp(int, int, int) - Method in class org.apache.mahout.math.matrix.impl.AbstractMatrix1D
Deprecated. Sets up a matrix with the given parameters.
setUp(int, int) - Method in class org.apache.mahout.math.matrix.impl.AbstractMatrix2D
Deprecated. Sets up a matrix with a given number of rows and columns.
setUp(int, int, int, int, int, int) - Method in class org.apache.mahout.math.matrix.impl.AbstractMatrix2D
Deprecated. Sets up a matrix with a given number of rows and columns and the given strides.
SIGMOID - Static variable in class org.apache.mahout.math.function.Functions
Function that returns 1 / (1 + exp(-a)
SIGMOIDGRADIENT - Static variable in class org.apache.mahout.math.function.Functions
Function that returns a * (1-a)
SIGN - Static variable in class org.apache.mahout.math.function.Functions
Function that returns a < 0 ? -1 : a > 0 ? 1 : 0.
SimpleEigenVerifier - Class in org.apache.mahout.math.decomposer
 
SimpleEigenVerifier() - Constructor for class org.apache.mahout.math.decomposer.SimpleEigenVerifier
 
SIN - Static variable in class org.apache.mahout.math.function.Functions
Function that returns Math.sin(a).
SingularValueDecomposition - Class in org.apache.mahout.math
 
SingularValueDecomposition(Matrix) - Constructor for class org.apache.mahout.math.SingularValueDecomposition
Constructs and returns a new singular value decomposition object; The decomposed matrices can be retrieved via instance methods of the returned decomposition object.
singularValues - Variable in class org.apache.mahout.math.decomposer.lanczos.LanczosState
 
singularVectors - Variable in class org.apache.mahout.math.decomposer.lanczos.LanczosState
 
SingularVectorVerifier - Interface in org.apache.mahout.math.decomposer
 
size() - Method in class org.apache.mahout.math.AbstractVector
 
size() - Method in class org.apache.mahout.math.matrix.impl.AbstractMatrix
Deprecated. Returns the number of cells.
size - Variable in class org.apache.mahout.math.matrix.impl.AbstractMatrix1D
Deprecated. the number of cells this matrix (view) has
size() - Method in class org.apache.mahout.math.matrix.impl.AbstractMatrix1D
Deprecated. Returns the number of cells.
size() - Method in class org.apache.mahout.math.matrix.impl.AbstractMatrix2D
Deprecated. Returns the number of cells which is rows()*columns().
size() - Method in class org.apache.mahout.math.NamedVector
 
size() - Method in interface org.apache.mahout.math.Vector
Return the cardinality of the recipient (the maximum number of values)
solve(Iterable<Vector>, Vector, double, int) - Method in class org.apache.mahout.math.als.AlternatingLeastSquaresSolver
 
solve(Vector) - Method in class org.apache.mahout.math.als.ImplicitFeedbackAlternatingLeastSquaresSolver
 
solve(Matrix, int) - Method in class org.apache.mahout.math.decomposer.hebbian.HebbianSolver
Primary singular vector solving method.
solve(LanczosState, int) - Method in class org.apache.mahout.math.decomposer.lanczos.LanczosSolver
 
solve(LanczosState, int, boolean) - Method in class org.apache.mahout.math.decomposer.lanczos.LanczosSolver
 
solve(Matrix) - Method in class org.apache.mahout.math.QRDecomposition
Least squares solution of A*X = B; returns X.
solve(VectorIterable, Vector) - Method in class org.apache.mahout.math.solver.ConjugateGradientSolver
Solves the system Ax = b with default termination criteria.
solve(VectorIterable, Vector, Preconditioner) - Method in class org.apache.mahout.math.solver.ConjugateGradientSolver
Solves the system Ax = b with default termination criteria using the specified preconditioner.
solve(VectorIterable, Vector, Preconditioner, int, double) - Method in class org.apache.mahout.math.solver.ConjugateGradientSolver
Solves the system Ax = b, where A is a linear operator and b is a vector.
solve(Matrix, Vector) - Method in class org.apache.mahout.math.solver.LSMR
 
solveLeft(Matrix) - Method in class org.apache.mahout.math.CholeskyDecomposition
Compute inv(L) * z efficiently.
solveRight(Matrix) - Method in class org.apache.mahout.math.CholeskyDecomposition
Compute z * inv(L') efficiently
SparseColumnMatrix - Class in org.apache.mahout.math
sparse matrix with general element values whose columns are accessible quickly.
SparseColumnMatrix(int, int, RandomAccessSparseVector[]) - Constructor for class org.apache.mahout.math.SparseColumnMatrix
Construct a matrix of the given cardinality with the given data columns
SparseColumnMatrix(int, int) - Constructor for class org.apache.mahout.math.SparseColumnMatrix
Construct a matrix of the given cardinality
SparseDoubleMatrix1D - Class in org.apache.mahout.math.matrix.impl
Deprecated. until unit tests are in place. Until this time, this class/interface is unsupported.
SparseDoubleMatrix1D(double[]) - Constructor for class org.apache.mahout.math.matrix.impl.SparseDoubleMatrix1D
Deprecated. Constructs a matrix with a copy of the given values.
SparseDoubleMatrix1D(int) - Constructor for class org.apache.mahout.math.matrix.impl.SparseDoubleMatrix1D
Deprecated. Constructs a matrix with a given number of cells.
SparseDoubleMatrix1D(int, int, double, double) - Constructor for class org.apache.mahout.math.matrix.impl.SparseDoubleMatrix1D
Deprecated. Constructs a matrix with a given number of parameters.
SparseDoubleMatrix2D - Class in org.apache.mahout.math.matrix.impl
Deprecated. until unit tests are in place. Until this time, this class/interface is unsupported.
SparseDoubleMatrix2D(double[][]) - Constructor for class org.apache.mahout.math.matrix.impl.SparseDoubleMatrix2D
Deprecated. Constructs a matrix with a copy of the given values.
SparseDoubleMatrix2D(int, int) - Constructor for class org.apache.mahout.math.matrix.impl.SparseDoubleMatrix2D
Deprecated. Constructs a matrix with a given number of rows and columns and default memory usage.
SparseDoubleMatrix2D(int, int, int, double, double) - Constructor for class org.apache.mahout.math.matrix.impl.SparseDoubleMatrix2D
Deprecated. Constructs a matrix with a given number of rows and columns using memory as specified.
SparseMatrix - Class in org.apache.mahout.math
Doubly sparse matrix.
SparseMatrix(int, int, Map<Integer, RandomAccessSparseVector>) - Constructor for class org.apache.mahout.math.SparseMatrix
Construct a matrix of the given cardinality with the given row map
SparseMatrix(int, int) - Constructor for class org.apache.mahout.math.SparseMatrix
Construct a matrix with specified number of rows and columns.
SparseRowMatrix - Class in org.apache.mahout.math
sparse matrix with general element values whose rows are accessible quickly.
SparseRowMatrix(int, int, Vector[]) - Constructor for class org.apache.mahout.math.SparseRowMatrix
Construct a sparse matrix starting with the provided row vectors.
SparseRowMatrix(int, int, boolean) - Constructor for class org.apache.mahout.math.SparseRowMatrix
 
SparseRowMatrix(int, int, Vector[], boolean, boolean) - Constructor for class org.apache.mahout.math.SparseRowMatrix
 
SparseRowMatrix(int, int) - Constructor for class org.apache.mahout.math.SparseRowMatrix
Construct a matrix of the given cardinality, with rows defaulting to RandomAccessSparseVector implementation
SQRT - Static variable in class org.apache.mahout.math.function.Functions
Function that returns Math.sqrt(a).
SQTPI - Static variable in class org.apache.mahout.math.jet.math.Constants
 
SQUARE - Static variable in class org.apache.mahout.math.function.Functions
Function that returns a * a.
SquareRootFunction - Class in org.apache.mahout.math.function
 
SquareRootFunction() - Constructor for class org.apache.mahout.math.function.SquareRootFunction
 
stride - Variable in class org.apache.mahout.math.matrix.impl.AbstractMatrix1D
Deprecated. the number of indexes between any two elements, i.e.
stride(int) - Method in class org.apache.mahout.math.matrix.impl.AbstractMatrix1D
Deprecated. Returns the stride of the given dimension (axis, rank).
swap(DoubleMatrix1D) - Method in class org.apache.mahout.math.matrix.DoubleMatrix1D
Deprecated. Swaps each element this[i] with other[i].
swap(DoubleMatrix1D) - Method in class org.apache.mahout.math.matrix.impl.DenseDoubleMatrix1D
Deprecated. Swaps each element this[i] with other[i].
swap(int, int) - Method in class org.apache.mahout.math.PivotedMatrix
Swaps indexes i and j.
swapArgs(DoubleDoubleFunction) - Static method in class org.apache.mahout.math.function.Functions
Constructs a function that returns function.apply(b,a), i.e.
swapColumns(int, int) - Method in class org.apache.mahout.math.PivotedMatrix
Swaps indexes i and j.
swapRows(int, int) - Method in class org.apache.mahout.math.PivotedMatrix
Swaps indexes i and j.

T

TAN - Static variable in class org.apache.mahout.math.function.Functions
Function that returns Math.tan(a).
times(double) - Method in class org.apache.mahout.math.AbstractMatrix
 
times(Matrix) - Method in class org.apache.mahout.math.AbstractMatrix
 
times(Vector) - Method in class org.apache.mahout.math.AbstractMatrix
 
times(double) - Method in class org.apache.mahout.math.AbstractVector
 
times(Vector) - Method in class org.apache.mahout.math.AbstractVector
 
times(double) - Method in interface org.apache.mahout.math.Matrix
Return a new matrix containing the product of each value of the recipient and the argument
times(Matrix) - Method in interface org.apache.mahout.math.Matrix
Return a new matrix containing the product of the recipient and the argument
times(double) - Method in class org.apache.mahout.math.NamedVector
 
times(Vector) - Method in class org.apache.mahout.math.NamedVector
 
times(double) - Method in interface org.apache.mahout.math.Vector
Return a new vector containing the product of each value of the recipient and the argument
times(Vector) - Method in interface org.apache.mahout.math.Vector
Return a new vector containing the element-wise product of the recipient and the argument
times(Vector) - Method in interface org.apache.mahout.math.VectorIterable
Return a new vector with cardinality equal to getNumRows() of this matrix which is the matrix product of the recipient and the argument
TimesFunction - Class in org.apache.mahout.math.function
 
TimesFunction() - Constructor for class org.apache.mahout.math.function.TimesFunction
 
timesSquared(Vector) - Method in class org.apache.mahout.math.AbstractMatrix
 
timesSquared(Vector) - Method in interface org.apache.mahout.math.VectorIterable
Convenience method for producing this.transpose().times(this.times(v)), which can be implemented with only one pass over the matrix, without making the transpose() call (which can be expensive if the matrix is sparse)
toArray() - Method in class org.apache.mahout.math.matrix.DoubleMatrix1D
Deprecated. Constructs and returns a 1-dimensional array containing the cell values.
toArray(double[]) - Method in class org.apache.mahout.math.matrix.DoubleMatrix1D
Deprecated. Fills the cell values into the specified 1-dimensional array.
toArray() - Method in class org.apache.mahout.math.matrix.DoubleMatrix2D
Deprecated. Constructs and returns a 2-dimensional array containing the cell values.
toArray(double[]) - Method in class org.apache.mahout.math.matrix.impl.DenseDoubleMatrix1D
Deprecated. Fills the cell values into the specified 1-dimensional array.
tolerance() - Method in class org.apache.mahout.math.matrix.linalg.Property
Deprecated. Returns the current tolerance.
toString() - Method in class org.apache.mahout.common.DevURandomSeedGenerator
 
toString() - Method in class org.apache.mahout.math.AbstractVector
 
toString(String[]) - Method in class org.apache.mahout.math.AbstractVector
 
toString() - Method in class org.apache.mahout.math.jet.random.Exponential
Returns a String representation of the receiver.
toString() - Method in class org.apache.mahout.math.jet.random.Gamma
 
toString() - Method in class org.apache.mahout.math.jet.random.NegativeBinomial
Returns a String representation of the receiver.
toString() - Method in class org.apache.mahout.math.jet.random.Normal
Returns a String representation of the receiver.
toString() - Method in class org.apache.mahout.math.jet.random.Uniform
Returns a String representation of the receiver.
toString() - Method in class org.apache.mahout.math.matrix.linalg.EigenvalueDecomposition
Deprecated. Returns a String with (propertyName, propertyValue) pairs.
toString() - Method in class org.apache.mahout.math.NamedVector
 
toString() - Method in class org.apache.mahout.math.QRDecomposition
Returns a rough string rendition of a QR.
toString() - Method in class org.apache.mahout.math.RandomAccessSparseVector
 
toString() - Method in class org.apache.mahout.math.SequentialAccessSparseVector
 
toString() - Method in class org.apache.mahout.math.SingularValueDecomposition
Returns a String with (propertyName, propertyValue) pairs.
toVector() - Method in class org.apache.mahout.math.matrix.DoubleMatrix1D
Deprecated.  
toVector() - Method in class org.apache.mahout.math.matrix.impl.SparseDoubleMatrix1D
Deprecated.  
TrainingState - Class in org.apache.mahout.math.decomposer.hebbian
 
transpose() - Method in class org.apache.mahout.math.AbstractMatrix
 
transpose() - Method in interface org.apache.mahout.math.Matrix
Return a new matrix that is the transpose of the receiver

U

Uniform - Class in org.apache.mahout.math.jet.random
 
Uniform(double, double, int) - Constructor for class org.apache.mahout.math.jet.random.Uniform
Constructs a uniform distribution with the given minimum and maximum, using a MersenneTwister seeded with the given seed.
Uniform(double, double, Random) - Constructor for class org.apache.mahout.math.jet.random.Uniform
Constructs a uniform distribution with the given minimum and maximum.
Uniform(Random) - Constructor for class org.apache.mahout.math.jet.random.Uniform
Constructs a uniform distribution with min=0.0 and max=1.0.
update(Vector, Vector, TrainingState) - Method in interface org.apache.mahout.math.decomposer.hebbian.EigenUpdater
 
update(Vector, Vector, TrainingState) - Method in class org.apache.mahout.math.decomposer.hebbian.HebbianUpdater
 
upperBandwidth(DoubleMatrix2D) - Method in class org.apache.mahout.math.matrix.linalg.Property
Deprecated. The upper bandwidth of a square matrix A is the maximum j-i for which A[i,j] is nonzero and j > i.
useTestSeed() - Static method in class org.apache.mahout.common.RandomUtils
 

V

valueOf(String) - Static method in enum org.apache.mahout.math.decomposer.lanczos.LanczosSolver.TimingSection
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.apache.mahout.math.decomposer.lanczos.LanczosSolver.TimingSection
Returns an array containing the constants of this enum type, in the order they are declared.
vColumnFlip() - Method in class org.apache.mahout.math.matrix.impl.AbstractMatrix2D
Deprecated. Self modifying version of viewColumnFlip().
vDice() - Method in class org.apache.mahout.math.matrix.impl.AbstractMatrix2D
Deprecated. Self modifying version of viewDice().
vector() - Method in class org.apache.mahout.math.MatrixSlice
 
Vector - Interface in org.apache.mahout.math
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 - Interface in org.apache.mahout.math
A holder for information about a specific item in the Vector.
VectorFunction - Interface in org.apache.mahout.math.function
Defines a function of a vector that returns a double.
VectorIterable - Interface in org.apache.mahout.math
 
VectorView - Class in org.apache.mahout.math
Implements subset view of a Vector
VectorView() - Constructor for class org.apache.mahout.math.VectorView
For serialization purposes only
VectorView(Vector, int, int) - Constructor for class org.apache.mahout.math.VectorView
 
VectorView.AllIterator - Class in org.apache.mahout.math
 
VectorView.NonZeroIterator - Class in org.apache.mahout.math
 
verify(VectorIterable, Vector) - Method in class org.apache.mahout.math.decomposer.AsyncEigenVerifier
 
verify(Matrix, Vector) - Method in class org.apache.mahout.math.decomposer.hebbian.HebbianSolver
 
verify(VectorIterable, Vector) - Method in class org.apache.mahout.math.decomposer.SimpleEigenVerifier
 
verify(VectorIterable, Vector) - Method in interface org.apache.mahout.math.decomposer.SingularVectorVerifier
 
view() - Method in class org.apache.mahout.math.matrix.DoubleMatrix1D
Deprecated. Constructs and returns a new view equal to the receiver.
view() - Method in class org.apache.mahout.math.matrix.DoubleMatrix2D
Deprecated. Constructs and returns a new view equal to the receiver.
viewColumn(int) - Method in class org.apache.mahout.math.AbstractMatrix
Returns a view of a row.
viewColumn(int) - Method in class org.apache.mahout.math.matrix.DoubleMatrix2D
Deprecated. Constructs and returns a new slice view representing the rows of the given column.
viewColumn(int) - Method in interface org.apache.mahout.math.Matrix
Return a reference to a column.
viewColumn(int) - Method in class org.apache.mahout.math.MatrixView
 
viewColumn(int) - Method in class org.apache.mahout.math.PivotedMatrix
Return the column at the given index
viewColumn(int) - Method in class org.apache.mahout.math.SparseColumnMatrix
 
viewColumnFlip() - Method in class org.apache.mahout.math.matrix.DoubleMatrix2D
Deprecated. Constructs and returns a new flip view along the column axis.
viewDiagonal() - Method in class org.apache.mahout.math.AbstractMatrix
Provides a view of the diagonal of a matrix.
viewDiagonal() - Method in class org.apache.mahout.math.DiagonalMatrix
Provides a view of the diagonal of a matrix.
viewDiagonal() - Method in interface org.apache.mahout.math.Matrix
Returns a reference to the diagonal of a matrix.
viewDice() - Method in class org.apache.mahout.math.matrix.DoubleMatrix2D
Deprecated. Constructs and returns a new dice (transposition) view; Swaps axes; example: 3 x 4 matrix --> 4 x 3 matrix.
viewPart(int, int, int, int) - Method in class org.apache.mahout.math.AbstractMatrix
 
viewPart(int, int) - Method in class org.apache.mahout.math.AbstractVector
 
viewPart(int[], int[]) - Method in class org.apache.mahout.math.DenseMatrix
 
viewPart(int, int, int, int) - Method in class org.apache.mahout.math.DenseMatrix
 
viewPart(int, int) - Method in class org.apache.mahout.math.DenseVector
 
viewPart(int[], int[]) - Method in class org.apache.mahout.math.DiagonalMatrix
Return a new matrix containing the subset of the recipient
viewPart(int, int) - Method in class org.apache.mahout.math.matrix.DoubleMatrix1D
Deprecated. Constructs and returns a new sub-range view that is a width sub matrix starting at index.
viewPart(int, int, int, int) - Method in class org.apache.mahout.math.matrix.DoubleMatrix2D
Deprecated. Constructs and returns a new sub-range view that is a height x width sub matrix starting at [row,column].
viewPart(int[], int[]) - Method in interface org.apache.mahout.math.Matrix
Return a view into part of a matrix.
viewPart(int, int, int, int) - Method in interface org.apache.mahout.math.Matrix
Return a view into part of a matrix.
viewPart(int[], int[]) - Method in class org.apache.mahout.math.MatrixView
 
viewPart(int, int) - Method in class org.apache.mahout.math.NamedVector
 
viewPart(int[], int[]) - Method in class org.apache.mahout.math.PivotedMatrix
Return a new matrix containing the subset of the recipient
viewPart(int[], int[]) - Method in class org.apache.mahout.math.RandomTrinaryMatrix
Return a new matrix containing the subset of the recipient
viewPart(int[], int[]) - Method in class org.apache.mahout.math.SparseColumnMatrix
 
viewPart(int[], int[]) - Method in class org.apache.mahout.math.SparseMatrix
 
viewPart(int[], int[]) - Method in class org.apache.mahout.math.SparseRowMatrix
 
viewPart(int, int) - Method in interface org.apache.mahout.math.Vector
Return a new vector containing the subset of the recipient
viewPart(int, int) - Method in class org.apache.mahout.math.VectorView
 
viewRow(int) - Method in class org.apache.mahout.math.AbstractMatrix
Returns a view of a row.
viewRow(int) - Method in class org.apache.mahout.math.DenseMatrix
 
viewRow(int) - Method in class org.apache.mahout.math.matrix.DoubleMatrix2D
Deprecated. Constructs and returns a new slice view representing the columns of the given row.
viewRow(int) - Method in interface org.apache.mahout.math.Matrix
Return a reference to a row.
viewRow(int) - Method in class org.apache.mahout.math.MatrixView
 
viewRow(int) - Method in class org.apache.mahout.math.PivotedMatrix
Return the row at the given index
viewRow(int) - Method in class org.apache.mahout.math.SparseMatrix
 
viewRow(int) - Method in class org.apache.mahout.math.SparseRowMatrix
 
viewRowFlip() - Method in class org.apache.mahout.math.matrix.DoubleMatrix2D
Deprecated. Constructs and returns a new flip view along the row axis.
viewSelection(int[], int[]) - Method in class org.apache.mahout.math.matrix.DoubleMatrix2D
Deprecated. Constructs and returns a new selection view that is a matrix holding the indicated cells.
viewSelectionLike(int[]) - Method in class org.apache.mahout.math.matrix.DoubleMatrix1D
Deprecated. Construct and returns a new selection view.
viewSelectionLike(int[], int[]) - Method in class org.apache.mahout.math.matrix.DoubleMatrix2D
Deprecated. Construct and returns a new selection view.
viewSelectionLike(int[]) - Method in class org.apache.mahout.math.matrix.impl.DenseDoubleMatrix1D
Deprecated. Construct and returns a new selection view.
viewSelectionLike(int[], int[]) - Method in class org.apache.mahout.math.matrix.impl.DenseDoubleMatrix2D
Deprecated. Construct and returns a new selection view.
viewSelectionLike(int[]) - Method in class org.apache.mahout.math.matrix.impl.SparseDoubleMatrix1D
Deprecated. Construct and returns a new selection view.
viewSelectionLike(int[], int[]) - Method in class org.apache.mahout.math.matrix.impl.SparseDoubleMatrix2D
Deprecated. Construct and returns a new selection view.
vPart(int, int) - Method in class org.apache.mahout.math.matrix.impl.AbstractMatrix1D
Deprecated. Self modifying version of viewPart().
vPart(int, int, int, int) - Method in class org.apache.mahout.math.matrix.impl.AbstractMatrix2D
Deprecated. Self modifying version of viewPart().
vRowFlip() - Method in class org.apache.mahout.math.matrix.impl.AbstractMatrix2D
Deprecated. Self modifying version of viewRowFlip().

Z

zDotProduct(DoubleMatrix1D) - Method in class org.apache.mahout.math.matrix.DoubleMatrix1D
Deprecated. Returns the dot product of two vectors x and y, which is Sum(x[i]*y[i]).
zDotProduct(DoubleMatrix1D, int, int) - Method in class org.apache.mahout.math.matrix.DoubleMatrix1D
Deprecated. Returns the dot product of two vectors x and y, which is Sum(x[i]*y[i]).
zDotProduct(DoubleMatrix1D, int, int, IntArrayList) - Method in class org.apache.mahout.math.matrix.DoubleMatrix1D
Deprecated. Returns the dot product of two vectors x and y, which is Sum(x[i]*y[i]).
zDotProduct(DoubleMatrix1D, IntArrayList) - Method in class org.apache.mahout.math.matrix.DoubleMatrix1D
Deprecated. Returns the dot product of two vectors x and y, which is Sum(x[i]*y[i]).
zDotProduct(DoubleMatrix1D, int, int) - Method in class org.apache.mahout.math.matrix.impl.DenseDoubleMatrix1D
Deprecated. Returns the dot product of two vectors x and y, which is Sum(x[i]*y[i]).
zero - Variable in class org.apache.mahout.math.matrix.impl.AbstractMatrix1D
Deprecated. the index of the first element
ZERO - Static variable in class org.apache.mahout.math.matrix.linalg.Property
Deprecated. A Property object with tolerance()==0.0.
zMult(DoubleMatrix1D, DoubleMatrix1D, double, double, boolean) - Method in class org.apache.mahout.math.matrix.DoubleMatrix2D
Deprecated. Linear algebraic matrix-vector multiplication; z = alpha * A * y + beta*z.
zMult(DoubleMatrix2D, DoubleMatrix2D, double, double, boolean, boolean) - Method in class org.apache.mahout.math.matrix.DoubleMatrix2D
Deprecated. Linear algebraic matrix-matrix multiplication; C = alpha * A x B + beta*C.
zMult(DoubleMatrix1D, DoubleMatrix1D, double, double, boolean) - Method in class org.apache.mahout.math.matrix.impl.DenseDoubleMatrix2D
Deprecated.  
zMult(DoubleMatrix2D, DoubleMatrix2D, double, double, boolean, boolean) - Method in class org.apache.mahout.math.matrix.impl.DenseDoubleMatrix2D
Deprecated.  
zMult(DoubleMatrix1D, DoubleMatrix1D, double, double, boolean) - Method in class org.apache.mahout.math.matrix.impl.SparseDoubleMatrix2D
Deprecated.  
zMult(DoubleMatrix2D, DoubleMatrix2D, double, double, boolean, boolean) - Method in class org.apache.mahout.math.matrix.impl.SparseDoubleMatrix2D
Deprecated.  
zSum() - Method in class org.apache.mahout.math.AbstractMatrix
 
zSum() - Method in class org.apache.mahout.math.AbstractVector
 
zSum() - Method in class org.apache.mahout.math.matrix.DoubleMatrix1D
Deprecated. Returns the sum of all cells; Sum( x[i] ).
zSum() - Method in class org.apache.mahout.math.matrix.DoubleMatrix2D
Deprecated. Returns the sum of all cells; Sum( x[i,j] ).
zSum() - Method in class org.apache.mahout.math.matrix.impl.DenseDoubleMatrix1D
Deprecated. Returns the sum of all cells; Sum( x[i] ).
zSum() - Method in class org.apache.mahout.math.matrix.impl.DenseDoubleMatrix2D
Deprecated. Returns the sum of all cells; Sum( x[i,j] ).
zSum() - Method in interface org.apache.mahout.math.Matrix
Return the sum of all the elements of the receiver
zSum() - Method in class org.apache.mahout.math.NamedVector
 
zSum() - Method in interface org.apache.mahout.math.Vector
Return the sum of all the elements of the receiver

A B C D E F G H I J L M N O P Q R S T U V Z

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