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;
Templated storage for the roots of polynomial equations, plus flags to indicate the nature of the roo...
Container to encapsulate various operations for cubic equation of the forms with real coefficients:
cubicEqn()
Construct null.
components
Component labeling enumeration.
scalar value(const scalar x) const
Evaluate the cubic equation at x.
scalar derivative(const scalar x) const
Evaluate the derivative of the cubic equation at x.
Roots< 3 > roots() const
Return the roots of the cubic equation with no particular order.
Class to handle errors and exceptions in a simple, consistent stream-based manner.
A class representing the concept of 0 (zero) that can be used to avoid manipulating objects known to ...