MCPcopy Create free account
hub / github.com/alandefreitas/matplotplusplus / pol2cart

Function pol2cart

source/matplot/util/common.cpp:466–468  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

464 }
465
466 std::pair<double, double> pol2cart(double theta, double rho) {
467 return std::make_pair(rho * cos(theta), rho * sin(theta));
468 }
469
470 std::pair<vector_1d, vector_1d> pol2cart(vector_1d theta, vector_1d rho) {
471 return std::make_pair(

Callers 2

rectangleMethod · 0.85
mainFunction · 0.85

Calls 1

transformFunction · 0.85

Tested by

no test coverage detected