105 return x*(x*(x*
a() +
b()) +
c()) +
d();
111 return x*(x*3*
a() + 2*
b()) +
c();
120 + small*(
mag(x*(x*(x*
a() +
b()) +
c())) +
mag(
d()));
scalar error(const scalar x) const
Estimate the error of evaluation at x.
Cubic equation of the form a*x^3 + b*x^2 + c*x + d = 0.
dimensioned< scalar > magSqr(const dimensioned< Type > &)
scalar derivative(const scalar x) const
Evaluate the derivative at x.
A class representing the concept of 0 used to avoid unnecessary manipulations for objects that are kn...
dimensioned< scalar > mag(const dimensioned< Type > &)
cubicEqn()
Construct null.
scalar value(const scalar x) const
Evaluate at x.
scalar v_[Ncmpts]
The components of this vector space.