choreo.ActionSym.IsIdentity#

ActionSym.IsIdentity(self, double atol=default_atol) bool#

Returns True if the transformation is within atol of the identity.

Example

>>> import choreo
>>> nbody = 10
>>> geodim = 4
>>> choreo.ActionSym.Identity(nbody, geodim).IsIdentity()
True
Parameters:

atol (float, optional) – Absolute tolerance.

Return type:

bool