powered by
Generate a Regular Grid
regular.grid(M = 100, domain = c(0, 1), h = 1/(2 * M))
the number of points
the interval
margin at boundaries
equally spaced M points in domain.
M
domain