computes a least square problem to get an approximation
Syntax
Input
S2Grid | grid on the sphere |
f | function values on the grid (may be multidimensional) |
Options
bandwidth | maximum degree of the spherical harmonics used to approximate the function |
to | tolerance for lsqm |
maxIt | maximum number of iterations for lsqm |
weights | weight w_n for the node nodes (default: Voronoi weights) |