47 #ifndef Foam_linearEqn_H 48 #define Foam_linearEqn_H 97 inline scalar
value(
const scalar
x)
const;
103 inline scalar
error(
const scalar
x)
const;
Templated storage for the roots of polynomial equations, plus flags to indicate the nature of the roo...
scalar a() const noexcept
components
Component labeling enumeration.
scalar b() const noexcept
scalar value(const scalar x) const
Evaluate the linear equation at x.
scalar error(const scalar x) const
Estimate the error of evaluation of the linear equation at x.
Container to encapsulate various operations for linear equation of the forms with real coefficients: ...
linearEqn()=default
Default construct.
Roots< 1 > roots() const
Return the real root of the linear equation.
A class representing the concept of 0 (zero) that can be used to avoid manipulating objects known to ...
scalar derivative(const scalar x) const
Evaluate the derivative of the linear equation at x.
scalar v_[Ncmpts]
The components of this vector space.