xen-dev-utils
    Preparing search index...

    Function nearestPlane

    • Solve approximate CVP using Babai's nearest plane algorithm.

      Parameters

      • v: number[]

        Vector to reduce.

      • basis: number[][]

        LLL basis to reduce with.

      • Optionaldual: number[][]

        Optional precalculated geometric duals of the orthogonalized basis.

      Returns Monzo

      The reduced vector.