Go to the documentation of this file.
75 #ifndef quadraticEqn_H
76 #define quadraticEqn_H
115 inline scalar
a()
const;
116 inline scalar
b()
const;
117 inline scalar
c()
const;
126 inline scalar
value(
const scalar
x)
const;
132 inline scalar
error(
const scalar
x)
const;
Roots< 2 > roots() const
Return the roots of the quadratic equation with no particular order.
scalar value(const scalar x) const
Evaluate the quadratic equation at x.
components
Component labeling enumeration.
quadraticEqn()
Construct null.
Graphite solid properties.
Templated storage for the roots of polynomial equations, plus flags to indicate the nature of the roo...
scalar derivative(const scalar x) const
Evaluate the derivative of the quadratic equation at x.
Container to encapsulate various operations for quadratic equation of the forms with real coefficient...
scalar error(const scalar x) const
Estimate the error of evaluation of the quadratic equation at x.
A class representing the concept of 0 (zero) that can be used to avoid manipulating objects known to ...