org.apache.mahout.math.function
Interface DoubleFunction


public interface DoubleFunction

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

See Also:
org.apache.mahout.math.map

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-2010 The Apache Software Foundation. All Rights Reserved.