approximation edit page

computes a least square problem to get an approximation

Syntax

SO3F = SO3FunHarmonic.approximation(SO3Grid, f)
SO3F = SO3FunHarmonic.approximation(SO3Grid, f,'constantWeights')
SO3F = SO3FunHarmonic.approximation(SO3Grid, f, 'bandwidth', bandwidth, 'tol', TOL, 'maxit', MAXIT, 'weights', W)

Input

SO3Grid rotational grid
f function values on the grid (maybe multidimensional)

Options

constantWeights uses constant normalized weights (for example if the nodes are constructed by equispacedSO3Grid)
bandwidth maximum degree of the Wigner-D functions used to approximate the function
tol tolerance for lsqr
maxit maximum number of iterations for lsqr
weights weight w_n for the nodes (default: Voronoi weights)