Function monzoToFraction

  • Convert a monzo to the fraction it represents.

    Parameters

    • monzo: Iterable<number>

      Iterable of prime exponents.

    Returns Fraction

    Fractional representation of the monzo.