FLAG
1.0b1
Exact Fourier-Laguerre transform in spherical coordinates
|
#include "flag.h"
#include <math.h>
#include <stdlib.h>
#include <complex.h>
#include <fftw3.h>
#include <ssht.h>
#include <stdio.h>
#include <string.h>
#include <assert.h>
#include <time.h>
Go to the source code of this file.
Macros | |
#define | MAX(a, b) ((a) > (b) ? (a) : (b)) |
Functions | |
double | maxerr_cplx (complex double *a, complex double *b, int size) |
double | maxerr (double *a, double *b, int size) |
double | ran2_dp (int idum) |
void | flag_random_f (complex double *f, int L, int N, int seed) |
void | flag_random_flmn (complex double *flmn, int L, int N, int seed) |
void | flag_random_flmn_real (complex double *flmn, int L, int N, int seed) |
void | print_f (const complex double *f, int L, int N) |
void | print_f_real (const double *f, int L, int N) |
void | print_flmn (const complex double *flmn, int L, int N) |
void | flag_sampling_test (int L, int N, double tau) |
void | flag_spherlaguerre_quadrature_test (int N) |
void | flag_spherlaguerre_tau_test (int N) |
void | flag_spherlaguerre_sampling_test (int N, double tau) |
void | flag_spherlaguerre_cmplx_transform_test (int L, int N, double tau, int seed) |
void | flag_spherlaguerre_transform_test (int N, double tau) |
void | flag_transform_test (int L, int N, double tau, int seed) |
void | flag_transform_furter_test (int L, int N, double tau, int seed) |
void | flag_transform_real_test (int L, int N, double tau, int seed) |
void | flag_transform_performance_test (double tau, int NREPEAT, int NSCALE, int seed) |
int | main (int argc, char *argv[]) |
#define MAX | ( | a, | |
b | |||
) | ((a) > (b) ? (a) : (b)) |
Definition at line 16 of file flag_test.c.
void flag_random_f | ( | complex double * | f, |
int | L, | ||
int | N, | ||
int | seed | ||
) |
Definition at line 75 of file flag_test.c.
void flag_random_flmn | ( | complex double * | flmn, |
int | L, | ||
int | N, | ||
int | seed | ||
) |
Definition at line 84 of file flag_test.c.
void flag_random_flmn_real | ( | complex double * | flmn, |
int | L, | ||
int | N, | ||
int | seed | ||
) |
Definition at line 93 of file flag_test.c.
void flag_sampling_test | ( | int | L, |
int | N, | ||
double | tau | ||
) |
Definition at line 155 of file flag_test.c.
void flag_spherlaguerre_cmplx_transform_test | ( | int | L, |
int | N, | ||
double | tau, | ||
int | seed | ||
) |
Definition at line 218 of file flag_test.c.
void flag_spherlaguerre_quadrature_test | ( | int | N | ) |
Definition at line 170 of file flag_test.c.
void flag_spherlaguerre_sampling_test | ( | int | N, |
double | tau | ||
) |
Definition at line 203 of file flag_test.c.
void flag_spherlaguerre_tau_test | ( | int | N | ) |
Definition at line 183 of file flag_test.c.
void flag_spherlaguerre_transform_test | ( | int | N, |
double | tau | ||
) |
Definition at line 258 of file flag_test.c.
void flag_transform_furter_test | ( | int | L, |
int | N, | ||
double | tau, | ||
int | seed | ||
) |
Definition at line 358 of file flag_test.c.
void flag_transform_performance_test | ( | double | tau, |
int | NREPEAT, | ||
int | NSCALE, | ||
int | seed | ||
) |
Definition at line 495 of file flag_test.c.
void flag_transform_real_test | ( | int | L, |
int | N, | ||
double | tau, | ||
int | seed | ||
) |
Definition at line 453 of file flag_test.c.
void flag_transform_test | ( | int | L, |
int | N, | ||
double | tau, | ||
int | seed | ||
) |
Definition at line 313 of file flag_test.c.
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 571 of file flag_test.c.
double maxerr | ( | double * | a, |
double * | b, | ||
int | size | ||
) |
Definition at line 29 of file flag_test.c.
double maxerr_cplx | ( | complex double * | a, |
complex double * | b, | ||
int | size | ||
) |
Definition at line 18 of file flag_test.c.
void print_f | ( | const complex double * | f, |
int | L, | ||
int | N | ||
) |
Definition at line 116 of file flag_test.c.
void print_f_real | ( | const double * | f, |
int | L, | ||
int | N | ||
) |
Definition at line 129 of file flag_test.c.
void print_flmn | ( | const complex double * | flmn, |
int | L, | ||
int | N | ||
) |
Definition at line 142 of file flag_test.c.
double ran2_dp | ( | int | idum | ) |
Definition at line 39 of file flag_test.c.