QuadraticRealPolynomial

Defines functions for 2nd order polynomial functions of one variable with only real coefficients.

See also

Functions

Link copied to clipboard
external fun computeDiscriminant(a: Double, b: Double, c: Double): Double

Provides the discriminant of the quadratic equation from the supplied coefficients.

Link copied to clipboard

Provides the real valued roots of the quadratic polynomial with the provided coefficients.