fitbenchmarking.jacobian.SciPyFD_cs_jacobian module

Module which calculates SciPy complex steps numerical method

class fitbenchmarking.jacobian.SciPyFD_cs_jacobian.ScipyCS(problem)

Bases: fitbenchmarking.jacobian.base_jacobian.Jacobian

Implements SciPy complex steps numerical method for calculating the derivative

eval(params, func=None, **kwargs)

Evaluates Jacobian

  • params (list) – The parameter values to find the Jacobian at
  • func (Callable, optional) – Function to find the Jacobian for, defaults to problem.eval_r

Approximation of the Jacobian

Return type:

numpy array