libftsh
A Fast Transform for Spherical Harmonics
 All Data Structures Files Functions Variables Defines
Functions
TEST/diff_coef.c File Reference

Compare two sets of coefficients. More...

#include "../libftsh.h"

Functions

int main (int argc, char *argv[])

Detailed Description

Compare two sets of coefficients.

This program compares two sets of coefficients as used in a spherical harmonic transform. It outputs the \(L^2\) error between them

For instance we can compare initial coefficients with the result after a synthesis and an analysis.

Usage: call this routine with 3 command-line arguments: band_limit coef_file_1 coef_file_2