78 inline scalar
a()
const;
79 inline scalar
b()
const;
85 inline scalar
value(
const scalar
x)
const;
88 inline scalar
derivative(
const scalar x)
const;
91 inline scalar
error(
const scalar x)
const;
Coefficient indexing enumeration.
Templated storage for the roots of polynomial equations, plus flags to indicate the nature of the roo...
linearEqn()
Construct null.
scalar value(const scalar x) const
Evaluate at x.
scalar error(const scalar x) const
Estimate the error of evaluation at x.
Linear equation of the form a*x + b = 0.
Roots< 1 > roots() const
Get the roots.
A class representing the concept of 0 used to avoid unnecessary manipulations for objects that are kn...
scalar derivative(const scalar x) const
Evaluate the derivative at x.