Function lenstraLenstraLovasz

  • Preform Lenstra-Lenstra-Lovász basis reduction.

    Parameters

    • basis: number[][]

      Array of basis elements.

    • delta: number = 0.75

      Lovász coefficient.

    • epsilon: number = 1e-12

      Threshold for zero.

    • maxIterations: number = 10000

      Maximum number of iterations to perform.

    Returns LLLResult

    The basis processed to be short and nearly orthogonal alongside Gram-Schmidt coefficients.