| 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( |