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

Method Poly2DFracResidual

src/PolyMath.cpp:793–795  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

791}
792
793Poly2DFracResidual::Poly2DFracResidual(Polynomial2DFrac& poly, const Eigen::MatrixXd& coefficients, const double& in, const double& z_in,
794 const int& axis, const int& x_exp, const int& y_exp, const double& x_base, const double& y_base)
795 : Poly2DResidual(poly, coefficients, in, z_in, axis), x_exp(x_exp), y_exp(y_exp), x_base(x_base), y_base(y_base) {}
796
797double Poly2DFracResidual::call(double target) {
798 if (axis == iX) return poly.evaluate(coefficients, target, in, 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