choreo.segm.quad.QuadTable.symmetry_default#
- QuadTable.symmetry_default(self, QuadTable other=None)#
Computes the symmetry default of a single / a pair of
QuadTable
.A method is said to be symmetric if its symmetry default is zero, namely if it coincides with its
symmetric_adjoint()
. If the two methods do not have the same number of steps, the symmetry default is infinite by convention.Example
>>> import choreo >>> Gauss = choreo.segm.multiprec_tables.ComputeQuadrature(10, method="Gauss") >>> Gauss.symmetry_default() 0.0 >>> Radau_I = choreo.segm.multiprec_tables.ComputeQuadrature(10, method="Radau_I") >>> Radau_I.symmetry_default() 0.08008763577630496 >>> Radau_I.symmetry_default(Radau_I.symmetric_adjoint()) 0.0
See also
- Parameters:
- Returns:
The maximum symmetry violation.
- Return type: