dctBasis2D function

Calculate a cosine basis representation for functional data on two- or three-dimensional domains