## Uniform grid with two dimensions
unigrids(c(5, 3), c(1, 1), c(2, 3))
## Returns the same result explicitly as a list
unigrids(c(5, 3), c(1, 1), c(2, 3), rtype = "list")
## Returns a matrix of grid points over the same domain
unigrids(c(5, 3), c(1, 1), c(2, 3), rtype = "grid")
## Uniform grid with one dimension
unigrids(5, 1, 2)
## Uniform grid with three dimensions
unigrids(c(3, 4, 5), c(1, 1, 1), c(2, 3, 4), rtype = "grid")
Run the code above in your browser using DataLab