A trait for representing a function and its partial derivatives in a multivariate automatic differentiation system. Implementations store the function value and all partial derivatives up to a specified order for a given number of free parameters.
Retrieves the value of the partial derivative for the specified orders.
Retrieves the value of the partial derivative for the specified orders.
Value parameters
orders
An array specifying the order of differentiation for each free parameter. The length must match the number of free parameters, and the sum of orders must not exceed the maximum derivation order.
Attributes
Returns
The value of the partial derivative corresponding to the specified orders.
Throws
IllegalArgumentException
if the orders array length does not match the number of free parameters or if the sum of orders exceeds the maximum derivation order.