choreo.segm.ODE.ExplicitSymplecticRKTable.is_symmetric_pair#

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

Returns True if the pair of Runge-Kutta methods is symmetric.

The pair of methods (self, other) is inferred symmetric if its symmetry default falls under the specified tolerance tol.

Example

Todo

Ex

Parameters:
Returns:

Whether the method is symmetric given the tolerance tol.

Return type:

bool