• Home
  • Raw
  • Download

Lines Matching refs:B

221 inline double Poly2(double A, double B, double x) {
222 return A + x * B;
225 inline double Poly4(double A, double B, double C, double D, double x) {
226 return A + x * (B + x * (C + x * (D)));
229 inline double Poly7(double A, double B, double C, double D, double E, double F, double G,
231 return A + x * (B + x * (C + x * (D + x * (E + x * (F + x * (G))))));
234 inline double Poly9(double A, double B, double C, double D, double E, double F, double G,
236 return A + x * (B + x * (C + x * (D + x * (E + x * (F + x * (G + x * (H + x * (I))))))));
247 inline double Poly2(double A, double B, double x) {
248 return A + B * x;
251 inline double Poly3(double A, double B, double C, double x, double x2) {
252 return Poly2(A, B, x) + C * x2;
255 inline double Poly3(double A, double B, double C, double x) {
256 return Poly2(A, B, x) + C * x * x;
259 inline double Poly4(double A, double B, double C, double D, double x, double x2) {
260 return Poly2(A, B, x) + Poly2(C, D, x) * x2; // same as poly2(poly2, poly2, x2);
263 inline double Poly4(double A, double B, double C, double D, double x) {
264 return Poly4(A, B, C, D, x, x * x);
267 inline double Poly7(double A, double B, double C, double D, double E, double F, double G,
270 return Poly4(A, B, C, D, x, x2) + Poly3(E, F, G, x, x2) * (x2 * x2);
273 inline double Poly8(double A, double B, double C, double D, double E, double F, double G,
275 return Poly4(A, B, C, D, x, x2) + Poly4(E, F, G, H, x, x2) * x4;
278 inline double Poly9(double A, double B, double C, double D, double E, double F, double G,
285 return Poly8(A, B, C, D, E, F, G, H, x, x2, x4) + I * (x4 * x4);
287 double val = Poly4(A, B, C, D, x, x2);