org.apache.mahout.math.function
Interface IntDoubleFunction
public interface IntDoubleFunction
Interface that represents a function object: a function that takes two arguments.
Method Summary |
double |
apply(int first,
double second)
Applies a function to two arguments. |
apply
double apply(int first,
double second)
- Applies a function to two arguments.
- Parameters:
first
- first argument passed to the function.second
- second argument passed to the function.
- Returns:
- the result of the function.
Copyright © 2008-2010 The Apache Software Foundation. All Rights Reserved.