cern.colt.function
Interface DoubleFunction
- All Known Implementing Classes:
- AbstractDistribution, Mult, RandomEngine
- 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 argument)
Applies a function to an argument. |
apply
public double apply(double argument)
- Applies a function to an argument.
- Parameters:
argument
- argument passed to the function.
- Returns:
- the result of the function.
Jump to the Colt Homepage