7 inline double eval_quartic(
double B,
double C,
double D,
double E,
double x)
9 return E + x*(D + x*(C + x*(B + x)));
13 inline double newton_quartic(
double B,
double C,
double D,
double E,
double x)
15 double fx = E + x*(D + x*(C + x*(B + x)));
16 double dx = D + x*(2*C + x*(3*B + x*4));