Package org.hipparchus.analysis
Interface MultivariateFunction
- All Known Subinterfaces:
MultivariateDifferentiableFunction
- All Known Implementing Classes:
LeastSquaresConverter
,LinearObjectiveFunction
,MultivariateFunctionMappingAdapter
,MultivariateFunctionPenaltyAdapter
,QuadraticFunction
,TwiceDifferentiableFunction
public interface MultivariateFunction
An interface representing a multivariate real function.
-
Method Summary
Modifier and TypeMethodDescriptiondouble
value
(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.
-