choreo.ActionSym.Identity#
- static ActionSym.Identity(Py_ssize_t nbody, Py_ssize_t geodim)#
Returns the identity transformation.
Example
>>> import choreo >>> nbody = 10 >>> geodim = 4 >>> choreo.ActionSym.Identity(nbody, geodim).IsIdentity() True >>> print(choreo.ActionSym.Identity(nbody, geodim)) ActionSym object BodyPerm: [0 1 2 3 4 5 6 7 8 9] SpaceRot: [[1. 0. 0. 0.] [0. 1. 0. 0.] [0. 0. 1. 0.] [0. 0. 0. 1.]] TimeRev: 1 TimeShift: 0 / 1
- Parameters:
- Returns:
An identity transformation of a system of
nbody
point masses in dimensiongeodim
.- Return type: