Function make_regular_grid

Function Documentation

std::vector<double> make_regular_grid(double lo, double hi, double dx)

Create a regular grid of double

Parameters:
  • lo – : start of the grid

  • hi – : stop of the grid

  • dx – : interval (throw if non strictly positive)