celeries.mmr.MMR.grad#

MMR.grad(f)#

Compute the gradient of f with respect to the Hamiltonian variables: y, phi, x, dL.

Parameters:
fSeries

Series for which to compute the gradient.

Returns:
grad(4*npla-4,) ndarray

Gradient.