libftsh
A Fast Transform for Spherical Harmonics
|
Precompute data for the fast1 algorithm. More...
#include "../libftsh.h"
Functions | |
int | main (int argc, char *argv[]) |
Precompute data for the fast1 algorithm.
This program initializes the fast transform for spherical harmonics
A Fast Transform for Spherical Harmonics Martin J. Mohlenkamp Journal of Fourier Analysis and Applications, 5(2/3):159-184, 1999
This version is the simplest, both from an algorithmic standpoint and a user standpoint. Algorithmicly, it does the single partition version, which should have the lowest break-even point, but will be slower asymptotically. For the user, it provides routines with the fewest parameters to worry about. This is easier, but does not allow tuning.
This initialization algorithm is slow. For a degree N spherical harmonic representation it will take (O(N^3 log(N))). The idea is to initialize only once (for some set of parameters) and save it to a file.
Usage: call this routine with 4 command-line arguments: numpts band_limit epsilon out_file
Notes: