choreo.segm.ODE.ExplicitSymplecticRKTable.is_symmetric_pair#
- ExplicitSymplecticRKTable.is_symmetric_pair()#
Returns
Trueif 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 tolerancetol.Example
Todo
Ex
See also
- Parameters:
other (
ExplicitSymplecticRKTable)tol (
numpy.float64, optional) – Tolerance on symmetry default, by default1e-12.
- Returns:
Whether the method is symmetric given the tolerance
tol.- Return type: