libftsh
A Fast Transform for Spherical Harmonics
|
Compare two sets of function values. More...
#include "../libftsh.h"
Functions | |
void | main (int argc, char *argv[]) |
Compare two sets of function values.
This program compares two sets of function values as used in a spherical harmonic transform. It outputs the \(L^2\) error between them.
For instance we can compare function values after two different versions of the transform.
We do not use the quadrature weight, so this is only a rough estimate of the proper error.
Usage: call this routine with 4 command-line arguments: numpts band_limit fcn_file_1 fcn_file_2