66 const scalar a = this->a();
67 const scalar
b = this->
b();
73 else if (
mag(
b/VGREAT) >=
mag(a))
Templated storage for the roots of polynomial equations, plus flags to indicate the nature of the roo...
static const linearEqn zero
linearEqn()=default
Default construct.
scalar value(const scalar x) const
Evaluate the linear equation at x.
scalar derivative(const scalar x) const
Evaluate the derivative of the linear equation at x.
scalar a() const noexcept
Roots< 1 > roots() const
Return the real root of the linear equation.
scalar b() const noexcept
scalar error(const scalar x) const
Estimate the error of evaluation of the linear equation at x.
A class representing the concept of 0 (zero) that can be used to avoid manipulating objects known to ...
dimensionedScalar sign(const dimensionedScalar &ds)
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)