libftsh
A Fast Transform for Spherical Harmonics
|
Precompute data for the direct1 algorithm. More...
#include "../libftsh.h"
Functions | |
void | main (int argc, char *argv[]) |
Precompute data for the direct1 algorithm.
This program initializes the direct transform for spherical harmonics, for comparison with "fast" transforms. The direct transform is ordinary dense matrix times vector multiplication. We do however take advantage of the even/odd symmetry about the equator.
Usage: call this routine with 3 command-line arguments: numpts band_limit out_file