| 176 | } |
| 177 | |
| 178 | double Polynomial2D::derivative(const Eigen::MatrixXd& coefficients, const double& x_in, const double& y_in, const int& axis = -1) { |
| 179 | return this->evaluate(this->deriveCoeffs(coefficients, axis, 1), x_in, y_in); |
| 180 | } |
| 181 | |
| 182 | double Polynomial2D::integral(const Eigen::MatrixXd& coefficients, const double& x_in, const double& y_in, const int& axis = -1) { |
| 183 | return this->evaluate(this->integrateCoeffs(coefficients, axis, 1), x_in, y_in); |
no test coverage detected