choreo.segm.ODE.ImplicitRKTable.is_symmetric#
- ImplicitRKTable.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
>>> import choreo >>> Gauss = choreo.segm.multiprec_tables.ComputeImplicitRKTable(method="Gauss") >>> Gauss.is_symmetric() True >>> Lobatto_IIIC = choreo.segm.multiprec_tables.ComputeImplicitRKTable(method="Lobatto_IIIC") >>> Lobatto_IIIC.is_symmetric() False
See also
- Parameters:
tol (
numpy.float64
, optional) – Tolerance on symmetry default, by default1e-12
.- Returns:
Whether the method is symmetric given the tolerance
tol
.- Return type: