75 #ifndef Foam_quadraticEqn_H 76 #define Foam_quadraticEqn_H 127 inline scalar
value(
const scalar
x)
const;
133 inline scalar
error(
const scalar
x)
const;
Roots< 2 > roots() const
Return the roots of the quadratic equation with no particular order.
Graphite solid properties.
scalar a() const noexcept
scalar error(const scalar x) const
Estimate the error of evaluation of the quadratic equation at x.
Templated storage for the roots of polynomial equations, plus flags to indicate the nature of the roo...
scalar b() const noexcept
quadraticEqn()=default
Default construct.
scalar derivative(const scalar x) const
Evaluate the derivative of the quadratic equation at x.
scalar c() const noexcept
components
Component labeling enumeration.
Container to encapsulate various operations for quadratic equation of the forms with real coefficient...
A class representing the concept of 0 (zero) that can be used to avoid manipulating objects known to ...
scalar v_[Ncmpts]
The components of this vector space.
scalar value(const scalar x) const
Evaluate the quadratic equation at x.