template.class_template.SymmetryOrbitEQN.costgrad

SymmetryOrbitEQN.costgrad(eqn, **kwargs)[source]

Gradient of cost function; optional unless cost was defined

Parameters:
eqnOrbit

Orbit instance whose state is an evaluation of the governing equations

kwargsdict

extra arguments for rmatvec method.

Returns:
gradient

An Orbit instance whose state and parameters (i.e. orbit_vector) contain gradient information.