Interface MultivariateRealFunction
- All Superinterfaces:
Function<Vector<Real>, Real>, Function<Vector<Real>, Real>, Relation<Vector<Real>, Real>
-
Method Summary
Modifier and TypeMethodDescriptionEvaluates this function at the given point.default StringReturns the codomain description.default StringReturns the domain description.Computes the gradient of the function at the given point.default RealpartialDerivative(Vector<Real> point, int variableIndex) Computes the partial derivative with respect to the i-th variable at the given point.Methods inherited from interface Function
andThen, apply, compose, contains, evaluate, getBackend, isContinuous, isDifferentiable, setBackend
-
Method Details
-
evaluate
-
gradient
Computes the gradient of the function at the given point.The gradient is the vector of partial derivatives: ∇f = (∂f/∂x1, ∂f/∂x2, ..., ∂f/∂xn)
- Parameters:
point- the point at which to compute the gradient- Returns:
- the gradient vector
-
partialDerivative
Computes the partial derivative with respect to the i-th variable at the given point.- Parameters:
point- the point at which to compute the derivativevariableIndex- the index of the variable (0-based)- Returns:
- the partial derivative ∂f/∂xi
-
getDomain
-
getCodomain
-