choreo.segm.quad.QuadTable.is_symmetric#

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

Returns True if the integration 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.ComputeQuadrature(10, method="Gauss")
>>> Gauss.is_symmetric()
True
>>> Radau_I = choreo.segm.multiprec_tables.ComputeQuadrature(10, method="Radau_I")
>>> Radau_I.is_symmetric()
False
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