choreo.segm.ODE.ExplicitSymplecticRKTable.is_symmetric#

ExplicitSymplecticRKTable.is_symmetric(self, double tol=1e-12)#

Returns True if the Runge-Kutta method is symmetric.

The method is inferred symmetric if its symmetry default falls under the specified tolerance tol.

Example

Todo

Ex

Parameters:

tol (numpy.float64 , optional) – Tolerance on symmetry default, by default 1e-12.

Returns:

Whether the method is symmetric given the tolerance tol.

Return type:

bool