85 inline scalar
a()
const;
86 inline scalar
b()
const;
87 inline scalar
c()
const;
88 inline scalar
d()
const;
96 inline scalar
value(
const scalar
x)
const;
99 inline scalar
derivative(
const scalar x)
const;
102 inline scalar
error(
const scalar x)
const;
Templated storage for the roots of polynomial equations, plus flags to indicate the nature of the roo...
scalar error(const scalar x) const
Estimate the error of evaluation at x.
Cubic equation of the form a*x^3 + b*x^2 + c*x + d = 0.
scalar derivative(const scalar x) const
Evaluate the derivative at x.
Coefficient indexing enumeration.
Roots< 3 > roots() const
Get the roots.
A class representing the concept of 0 used to avoid unnecessary manipulations for objects that are kn...
cubicEqn()
Construct null.
scalar value(const scalar x) const
Evaluate at x.