gemseo.algos.ode.rhs_jacobian_checking module#

A class to check the Jacobian of the right-hand side of an ODE.

class RHSJacobianChecking(rhs_function, jac, default_time=0.0)[source]#

Bases: object

A class to check the Jacobian of the right-hand side of an ODE.

Parameters:
  • rhs_function (RHSFuncType) -- The function to compute the right-hand side (RHS) of the ODE.

  • jac (DifferentiationFunctions) -- The functions to compute the Jacobian of the RHS.

  • default_time (float) --

    The default time value.

    By default it is set to 0.0.

default_time: float#

The default time value.

function_of_state: MDOFunction#

A function computing the RHS given the state for the default time.

function_of_time_and_state: MDOFunction#

A function computing the RHS given the time and state.