desc.derivatives.AutoDiffDerivative.compute
- AutoDiffDerivative.compute(*args, **kwargs)Source
Compute the derivative matrix.
- Parameters:
*args (list) – Arguments of the objective function where the derivative is to be evaluated at.
- Returns:
D (ndarray of float) – derivative of f evaluated at x, where f is the output of the function fun and x is the input argument at position argnum. Exact shape and meaning will depend on “mode”