| chebknots {chebpol} | R Documentation |
Create a Chebyshev grid on a hypercube.
chebknots(dims, intervals = NULL)
dims |
The number of grid-points in each dimension. For
Chebyshev-polynomial of degree |
intervals |
A list of vectors of length 2. The lower and upper bounds of the hypercube. |
If intervals is not provided, it is assumed that the domain of the
function in each dimension is [-1,1]. Thus, standard Chebyshev knots are
produced. If dims is of length 1, intervals may be a vector
of length 2 rather than a list with a vector of length 2.
A array of dimension dims. The Chebyshev grid-points.
## Standard knots for degree 3 chebknots(4) ## Knots in the interval [2,3] for degree 3 chebknots(4,interval=c(2,3)) ## Multivariate knots chebknots(c(x=3,y=4,z=3)) ## Multivariate grid ## Not run: expand.grid(chebknots(c(x=3,y=4,z=5), list(c(1,3), c(4,6), c(800,900)))) ## End(Not run)