src/SolidMaterial/PolynomialFitInline.hh
//------------------------------------------------------------------------------
// Compute the polynomial for the given argument.
//------------------------------------------------------------------------------
Compute the polynomial for the given argument.
Compute the polynomial for the given argument .
inline
double
NinthOrderPolynomialFit::
operator()(const double x) const {
  return (mC0 + 
          mC1*x +
          mC2*x*x +
          mC3*x*x*x +
          mC4*x*x*x*x +
          mC5*x*x*x*x*x +
          mC6*x*x*x*x*x*x +
          mC7*x*x*x*x*x*x*x +
          mC8*x*x*x*x*x*x*x*x +
          mC9*x*x*x*x*x*x*x*x*x);
}
inline double NinthOrderPolynomialFit :: operator () ( const double x ) const { return ( mC0 + mC1 * x + mC2 * x * x + mC3 * x * x * x + mC4 * x * x * x * x + mC5 * x * x * x * x * x + mC6 * x * x * x * x * x * x + mC7 * x * x * x * x * x * x * x + mC8 * x * x * x * x * x * x * x * x + mC9 * x * x * x * x * x * x * x * x * x ) ; }
Compute the polynomial for the given argument.
Compute the polynomial for the given argument .