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 naive algorithm. More...
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include "s2kit/pml.h"
#include "s2kit/naive.h"
#include "s2kit/weights.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 naive 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_naive.c.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 31 of file test_DLT_naive.c.