Function toMonzo

  • Extract the exponents of the prime factors of a rational number.

    Parameters

    Returns Monzo

    The monzo representing n.