3.3.4.15. Function CreateMeshgrid

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 axis
  • x_max: end of x axis (x_max is excluded from the interval)
  • y_min: beginning of y axis
  • y_max: end of y axis (y_max is excluded from the interval)
  • xx: output 2d x grid
  • yy: output 2d y grid