MCPcopy Create free account
hub / github.com/CoolProp/CoolProp / integral

Method integral

src/PolyMath.cpp:182–184  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

180}
181
182double 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);
184}
185
186/// Uses the Brent solver to find the roots of p(x_in,y_in)-z_in
187/// @param res Poly2DResidual object to calculate residuals and derivatives

Callers 4

callMethod · 0.80
PolyMath.cppFile · 0.80
dsdTatPxdTMethod · 0.80
dhdTatPxdTMethod · 0.80

Calls 4

evaluateMethod · 0.95
integrateCoeffsMethod · 0.95
logFunction · 0.85
formatFunction · 0.70

Tested by

no test coverage detected