99 #ifndef Foam_cubicEqn_H 100 #define Foam_cubicEqn_H 159 inline scalar
value(
const scalar
x)
const;
165 inline scalar
error(
const scalar
x)
const;
cubicEqn()=default
Default construct.
scalar c() const noexcept
Templated storage for the roots of polynomial equations, plus flags to indicate the nature of the roo...
scalar error(const scalar x) const
Estimate the error of evaluation of the cubic equation at x.
Container to encapsulate various operations for cubic equation of the forms with real coefficients: ...
scalar b() const noexcept
scalar a() const noexcept
scalar derivative(const scalar x) const
Evaluate the derivative of the cubic equation at x.
components
Component labeling enumeration.
Roots< 3 > roots() const
Return the roots of the cubic equation with no particular order.
A class representing the concept of 0 (zero) that can be used to avoid manipulating objects known to ...
scalar value(const scalar x) const
Evaluate the cubic equation at x.
scalar d() const noexcept
scalar v_[Ncmpts]
The components of this vector space.