powered by
Internal C++ method.
Compute spherical harmonics on the unit sphere
fmesher_spherical_harmonics(loc, max_order, rot_inv)
A matrix of evaluated spherical harmonic basis functions
numeric matrix; coordinates of points to locate in the mesh
integer; the maximum basis order
logical; If TRUE, only evaluate rotationally invariant basis functions
TRUE
m <- fm_rcdt_2d(globe = 1) fmesher_spherical_harmonics(m$loc, max_order = 2, TRUE) fmesher_spherical_harmonics(m$loc, max_order = 2, FALSE)
Run the code above in your browser using DataLab