Uses of Interface
org.apache.mahout.math.function.DoubleDoubleFunction

Packages that use DoubleDoubleFunction
org.apache.mahout.math Core base classes; Operations on primitive arrays such as sorting, partitioning and permuting. 
org.apache.mahout.math.function Core interfaces for functions, comparisons and procedures on objects and primitive data types. 
org.apache.mahout.math.matrix   
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
 

Uses of DoubleDoubleFunction in org.apache.mahout.math
 

Methods in org.apache.mahout.math with parameters of type DoubleDoubleFunction
 double Vector.aggregate(DoubleDoubleFunction aggregator, DoubleFunction map)
          Examples speak louder than words: aggregate(plus, pow(2)) is another way to say getLengthSquared(), aggregate(max, abs) is norm(Double.POSITIVE_INFINITY).
 double NamedVector.aggregate(DoubleDoubleFunction aggregator, DoubleFunction map)
           
 double Matrix.aggregate(DoubleDoubleFunction combiner, DoubleFunction mapper)
          Collects the results of a function applied to each element of a matrix and then aggregated.
 double AbstractVector.aggregate(DoubleDoubleFunction aggregator, DoubleFunction map)
           
 double AbstractMatrix.aggregate(DoubleDoubleFunction combiner, DoubleFunction mapper)
          Collects the results of a function applied to each element of a matrix and then aggregated.
 double Vector.aggregate(Vector other, DoubleDoubleFunction aggregator, DoubleDoubleFunction combiner)
          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.
 double NamedVector.aggregate(Vector other, DoubleDoubleFunction aggregator, DoubleDoubleFunction combiner)
           
 double AbstractVector.aggregate(Vector other, DoubleDoubleFunction aggregator, DoubleDoubleFunction combiner)
           
 Vector Vector.assign(DoubleDoubleFunction f, double y)
          Apply the function to each element of the receiver, using the y value as the second argument of the DoubleDoubleFunction
 Vector NamedVector.assign(DoubleDoubleFunction f, double y)
           
 Vector AbstractVector.assign(DoubleDoubleFunction f, double y)
           
 Matrix Matrix.assign(Matrix other, DoubleDoubleFunction function)
          Apply the function to each element of the receiver and the corresponding element of the other argument
 Matrix AbstractMatrix.assign(Matrix other, DoubleDoubleFunction function)
           
 Vector Vector.assign(Vector other, DoubleDoubleFunction function)
          Apply the function to each element of the receiver and the corresponding element of the other argument
 Vector NamedVector.assign(Vector other, DoubleDoubleFunction function)
           
 Vector DenseVector.assign(Vector other, DoubleDoubleFunction function)
           
 Vector AbstractVector.assign(Vector other, DoubleDoubleFunction function)
           
 

Uses of DoubleDoubleFunction in org.apache.mahout.math.function
 

Classes in org.apache.mahout.math.function that implement DoubleDoubleFunction
 class PlusMult
          Only for performance tuning of compute intensive linear algebraic computations.
 class TimesFunction
           
 

Fields in org.apache.mahout.math.function declared as DoubleDoubleFunction
static DoubleDoubleFunction Functions.ATAN2
          Function that returns Math.atan2(a,b).
static DoubleDoubleFunction Functions.COMPARE
          Function that returns a < b ? -1 : a > b ? 1 : 0.
static DoubleDoubleFunction Functions.DIV
          Function that returns a / b.
static DoubleDoubleFunction Functions.EQUALS
          Function that returns a == b ? 1 : 0.
static DoubleDoubleFunction Functions.GREATER
          Function that returns a > b ? 1 : 0.
static DoubleDoubleFunction Functions.IEEE_REMAINDER
          Function that returns Math.IEEEremainder(a,b).
static DoubleDoubleFunction Functions.LESS
          Function that returns a < b ? 1 : 0.
static DoubleDoubleFunction Functions.LG
          Function that returns Math.log(a) / Math.log(b).
static DoubleDoubleFunction Functions.MAX
          Function that returns Math.max(a,b).
static DoubleDoubleFunction Functions.MIN
          Function that returns Math.min(a,b).
static DoubleDoubleFunction Functions.MINUS
          Function that returns a - b.
static DoubleDoubleFunction Functions.MOD
          Function that returns a % b.
static DoubleDoubleFunction Functions.MULT
          Function that returns a * b.
static DoubleDoubleFunction Functions.PLUS
          Function that returns a + b.
static DoubleDoubleFunction Functions.PLUS_ABS
          Function that returns Math.abs(a) + Math.abs(b).
static DoubleDoubleFunction Functions.POW
          Function that returns Math.pow(a,b).
 

Methods in org.apache.mahout.math.function that return DoubleDoubleFunction
static DoubleDoubleFunction Functions.chain(DoubleDoubleFunction f, DoubleFunction g, DoubleFunction h)
          Constructs the function f( g(a), h(b) ).
static DoubleDoubleFunction Functions.chain(DoubleFunction g, DoubleDoubleFunction h)
          Constructs the function g( h(a,b) ).
static DoubleDoubleFunction Functions.minusMult(double constant)
          Constructs a function that returns a - b*constant.
static DoubleDoubleFunction Functions.plusMult(double constant)
          Constructs a function that returns a + b*constant.
static DoubleDoubleFunction Functions.swapArgs(DoubleDoubleFunction function)
          Constructs a function that returns function.apply(b,a), i.e.
 

Methods in org.apache.mahout.math.function with parameters of type DoubleDoubleFunction
static DoubleFunction Functions.bindArg1(DoubleDoubleFunction function, double c)
          Constructs a unary function from a binary function with the first operand (argument) fixed to the given constant c.
static DoubleFunction Functions.bindArg2(DoubleDoubleFunction function, double c)
          Constructs a unary function from a binary function with the second operand (argument) fixed to the given constant c.
static DoubleDoubleFunction Functions.chain(DoubleDoubleFunction f, DoubleFunction g, DoubleFunction h)
          Constructs the function f( g(a), h(b) ).
static DoubleDoubleFunction Functions.chain(DoubleFunction g, DoubleDoubleFunction h)
          Constructs the function g( h(a,b) ).
static DoubleDoubleFunction Functions.swapArgs(DoubleDoubleFunction function)
          Constructs a function that returns function.apply(b,a), i.e.
 

Uses of DoubleDoubleFunction in org.apache.mahout.math.matrix
 

Methods in org.apache.mahout.math.matrix with parameters of type DoubleDoubleFunction
 double DoubleMatrix2D.aggregate(DoubleDoubleFunction aggr, DoubleFunction f)
          Deprecated. Applies a function to each cell and aggregates the results.
 double DoubleMatrix1D.aggregate(DoubleDoubleFunction aggr, DoubleFunction f)
          Deprecated. Applies a function to each cell and aggregates the results.
 double DoubleMatrix1D.aggregate(DoubleMatrix1D other, DoubleDoubleFunction aggr, DoubleDoubleFunction f)
          Deprecated. Applies a function to each corresponding cell of two matrices and aggregates the results.
 double DoubleMatrix2D.aggregate(DoubleMatrix2D other, DoubleDoubleFunction aggr, DoubleDoubleFunction f)
          Deprecated. Applies a function to each corresponding cell of two matrices and aggregates the results.
 DoubleMatrix1D DoubleMatrix1D.assign(DoubleMatrix1D y, DoubleDoubleFunction function)
          Deprecated. Assigns the result of a function to each cell; x[i] = function(x[i],y[i]).
 void DoubleMatrix1D.assign(DoubleMatrix1D y, DoubleDoubleFunction function, org.apache.mahout.math.list.IntArrayList nonZeroIndexes)
          Deprecated. Assigns the result of a function to each cell; x[i] = function(x[i],y[i]).
 DoubleMatrix2D DoubleMatrix2D.assign(DoubleMatrix2D y, DoubleDoubleFunction function)
          Deprecated. Assigns the result of a function to each cell; x[row,col] = function(x[row,col],y[row,col]).
 

Uses of DoubleDoubleFunction in org.apache.mahout.math.matrix.impl
 

Methods in org.apache.mahout.math.matrix.impl with parameters of type DoubleDoubleFunction
 DoubleMatrix1D DenseDoubleMatrix1D.assign(DoubleMatrix1D y, DoubleDoubleFunction function)
          Deprecated. Assigns the result of a function to each cell; x[i] = function(x[i],y[i]).
 DoubleMatrix2D SparseDoubleMatrix2D.assign(DoubleMatrix2D y, DoubleDoubleFunction function)
          Deprecated.  
 DoubleMatrix2D DenseDoubleMatrix2D.assign(DoubleMatrix2D y, DoubleDoubleFunction function)
          Deprecated. Assigns the result of a function to each cell; x[row,col] = function(x[row,col],y[row,col]).
 



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