Go to the documentation of this file.
145 inline scalar
a()
const;
146 inline scalar
b()
const;
147 inline scalar
c()
const;
148 inline scalar
d()
const;
158 inline scalar
value(
const scalar
x)
const;
164 inline scalar
error(
const scalar
x)
const;
scalar derivative(const scalar x) const
Evaluate the derivative of the cubic equation at x.
components
Component labeling enumeration.
Roots< 3 > roots() const
Return the roots of the cubic equation with no particular order.
cubicEqn()
Construct null.
scalar value(const scalar x) const
Evaluate the cubic equation at x.
scalar error(const scalar x) const
Estimate the error of evaluation of the cubic equation at x.
Container to encapsulate various operations for cubic equation of the forms with real coefficients:
Templated storage for the roots of polynomial equations, plus flags to indicate the nature of the roo...
A class representing the concept of 0 (zero) that can be used to avoid manipulating objects known to ...