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 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: