org.apache.mahout.math.function
Interface DoubleFunction

All Known Implementing Classes:
AbstractContinousDistribution, AbstractDiscreteDistribution, AbstractDistribution, Exponential, Gamma, MersenneTwister, Mult, NegativeBinomial, Normal, Poisson, RandomEngine, SquareRootFunction, Uniform

public interface DoubleFunction

Interface that represents a function object: a function that takes a single argument and returns a single value.


Method Summary
 double apply(double arg1)
          Apply the function to the argument and return the result
 

Method Detail

apply

double apply(double arg1)
Apply the function to the argument and return the result

Parameters:
arg1 - double for the argument
Returns:
the result of applying the function


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