Skip to content

polynomial

The polynomial module of numluau.


methods

fromroots -> ()

polynomial.fromroots(
    roots : {number}
): Polynomial

constructs a polynomial from its roots.

set_printstyle -> ()

polynomial.set_printstyle(
    printstyle : "ascii" | "unicode"
): Polynomial

set whether to use ascii or unicode characters when stringifying polynomials.