xen-dev-utils
    Preparing search index...

    Function respell

    • Respell a monzo representing a rational number in a simpler form.

      Parameters

      • monzo: Monzo

        Array of prime exponents to simplify.

      • commas: Monzo[]

        Monzos representing near-unisons to simplify by. Should be LLL reduced to work properly.

      • OptionalcommaOrthoDuals: Monzo[]

        Optional precalculated geometric duals of the orthogonalized comma basis.

      Returns Monzo

      An array of prime exponents representing a simpler rational number.