| 322 | } |
| 323 | |
| 324 | double Poly2DResidual::call(double target) { |
| 325 | if (axis == iX) return poly.evaluate(coefficients, target, in) - z_in; |
| 326 | if (axis == iY) return poly.evaluate(coefficients, in, target) - z_in; |
| 327 | return -_HUGE; |
| 328 | } |
| 329 | |
| 330 | double Poly2DResidual::deriv(double target) { |
| 331 | if (!this->derIsSet) { |
no test coverage detected