Defines a polynomial with random coefficients.
The degree of the polynomial
Optional
The lower bound of the coefficients (optional, defaults to 0)
The upper bound of the coefficients (optional, defaults to 1)
const result = Chalkboard.real.randomPolynomial(4, -1, 1); // Returns a random quartic polynomial Copy
const result = Chalkboard.real.randomPolynomial(4, -1, 1); // Returns a random quartic polynomial
Defines a polynomial with random coefficients.