3.3.4.15. Function CreateMeshgrid¶
- Defined in File numeric.h
3.3.4.15.1. Function Documentation¶
-
void
sirius::utils::CreateMeshgrid(int x_min, int x_max, int y_min, int y_max, std::vector<int> &xx, std::vector<int> &yy)¶ Create coordinates vector.
- Parameters
x_min: beginning of x axisx_max: end of x axis (x_max is excluded from the interval)y_min: beginning of y axisy_max: end of y axis (y_max is excluded from the interval)xx: output 2d x gridyy: output 2d y grid