Package org.hipparchus.analysis
Interface MultivariateFunction
- All Known Subinterfaces:
MultivariateDifferentiableFunction
- All Known Implementing Classes:
LeastSquaresConverter,LinearObjectiveFunction,MultivariateFunctionMappingAdapter,MultivariateFunctionPenaltyAdapter,QuadraticFunction,SQPObj,TwiceDifferentiableFunction
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
An interface representing a multivariate real function.
-
Method Summary
Modifier and TypeMethodDescriptiondoublevalue(double[] point) Compute the value for the function at the given point.
-
Method Details
-
value
double value(double[] point) Compute the value for the function at the given point.- Parameters:
point- Point at which the function must be evaluated.- Returns:
- the function value for the given point.
- Throws:
MathIllegalArgumentException- if the parameter's dimension is wrong for the function being evaluated.MathIllegalArgumentException- when the activated method itself can ascertain that preconditions, specified in the API expressed at the level of the activated method, have been violated. In the vast majority of cases where Hipparchus throws this exception, it is the result of argument checking of actual parameters immediately passed to a method.
-