S2kit  1.1
Toolkit for working with functions defined on the sphere
test_DLT_naive.c File Reference

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)
 

Detailed Description

Example of source code to computie forward and inverse Legendre transforms using the naive algorithm.

Prints timing and error information.

Sample call:

test_DLT_naive m bw loops
test_DLT_naive 0 32 10

where

Parameters
morder of the problem
bwbandwidth
loopsnumber of loops thru timed portion of code, intended to reduce noise due to multiprocessing and discretization errors

Definition in file test_DLT_naive.c.

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 31 of file test_DLT_naive.c.