getgrid.gp function

Calculates the gridpoints in a spectral GP object