Package org.hipparchus.util
Interface MathArrays.Function
- Enclosing class:
- MathArrays
public static interface MathArrays.Function
Real-valued function that operates on an array or a part of it.
-
Method Summary
-
Method Details
-
evaluate
double evaluate(double[] array) Operates on an entire array.- Parameters:
array
- Array to operate on.- Returns:
- the result of the operation.
-
evaluate
double evaluate(double[] array, int startIndex, int numElements) Operates on a sub-array.- Parameters:
array
- Array to operate on.startIndex
- Index of the first element to take into account.numElements
- Number of elements to take into account.- Returns:
- the result of the operation.
-