choreo.ActionSym.Random#

static ActionSym.Random(Py_ssize_t nbody, Py_ssize_t geodim, Py_ssize_t maxden=-1)#

Returns a random transformation.

Warning: the underlying density is NOT uniform.

Parameters:
  • nbody (int) – Number of bodies in the system.

  • geodim (int) – Dimension of ambiant space.

  • maxden (int, optional) –

    Maximum denominator of the time shift. Negative values will be given a maximum denominator equal to 10 * nbody.

    By default -1

Returns:

A random transformation of a system of nbody point masses in dimension geodim.

Return type:

choreo.ActionSym