36 #ifndef quadraticEqn_H 37 #define quadraticEqn_H 76 inline scalar
a()
const;
77 inline scalar
b()
const;
78 inline scalar
c()
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;
Roots< 2 > roots() const
Get the roots.
Graphite solid properties.
scalar error(const scalar x) const
Estimate the error of evaluation at x.
Templated storage for the roots of polynomial equations, plus flags to indicate the nature of the roo...
quadraticEqn()
Construct null.
scalar derivative(const scalar x) const
Evaluate the derivative at x.
components
Component labeling enumeration.
Quadratic equation of the form a*x^2 + b*x + c = 0.
A class representing the concept of 0 used to avoid unnecessary manipulations for objects that are kn...
scalar value(const scalar x) const
Evaluate at x.