40 this->v_[coefficient::a] = a;
49 return this->v_[coefficient::a];
61 return this->v_[coefficient::a];
85 return small*(
mag(
x*a()) +
mag(
b()));
100 const scalar a = this->a();
101 const scalar
b = this->
b();
Templated storage for the roots of polynomial equations, plus flags to indicate the nature of the roo...
Linear equation of the form a*x + b = 0.
linearEqn()
Construct null.
scalar value(const scalar x) const
Evaluate at x.
scalar derivative(const scalar x) const
Evaluate the derivative at x.
Roots< 1 > roots() const
Get the roots.
scalar error(const scalar x) const
Estimate the error of evaluation at x.
A class representing the concept of 0 used to avoid unnecessary manipulations for objects that are kn...
dimensionedScalar sign(const dimensionedScalar &ds)
dimensioned< scalar > mag(const dimensioned< Type > &)