powered by
Create H as sine-cosine bases expansion over R^1
H.omega.sincos(x, u)
A vector of locations of length n.
A vector of frequencies of length d/2.
An n x d matrix.
H.omega.cos.2D
# NOT RUN { x <- I(0:10) / 10 u <- I(1:4) * pi H.omega.sincos(x, u) # }
Run the code above in your browser using DataLab