|
S2kit
1.1
Toolkit for working with functions defined on the sphere
|
Example of source code to computie forward and inverse Legendre transforms using the seminaive algorithm. More...
#include <math.h>#include <stdio.h>#include <stdlib.h>#include <time.h>#include <fftw3.h>#include "s2kit/cospml.h"#include "s2kit/seminaive.h"#include "s2kit/weights.h"#include "s2kit/chebyshev_nodes.h"#include "util/csecond.h"Go to the source code of this file.
Functions | |
| int | main (int argc, char **argv) |
Example of source code to computie forward and inverse Legendre transforms using the seminaive algorithm.
Prints timing and error information.
Sample call:
where
| m | order of the problem |
| bw | bandwidth |
| loops | number of loops thru timed portion of code, intended to reduce noise due to multiprocessing and discretization errors |
Definition in file test_DLT_semi.c.
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 34 of file test_DLT_semi.c.