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

Method Poly2DFracIntResidual

src/PolyMath.cpp:809–812  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

807}
808
809Poly2DFracIntResidual::Poly2DFracIntResidual(Polynomial2DFrac& poly, const Eigen::MatrixXd& coefficients, const double& in, const double& z_in,
810 const int& axis, const int& x_exp, const int& y_exp, const double& x_base, const double& y_base,
811 const int& int_axis)
812 : Poly2DFracResidual(poly, coefficients, in, z_in, axis, x_exp, y_exp, x_base, y_base), int_axis(int_axis) {}
813
814double Poly2DFracIntResidual::call(double target) {
815 if (axis == iX) return poly.integral(coefficients, target, in, int_axis, x_exp, y_exp, x_base, y_base) - z_in;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected