FLAG  1.0b1
Exact Fourier-Laguerre transform in spherical coordinates
Macros | Functions
flag_fbtest.c File Reference
#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_sbesselslag_test_simple (int Nk, int N, double R, int seed)
 
void flag_sbesselslag_test_jlK (double Kval, int ell, int Nk, int N, double R, int seed)
 
int main (int argc, char *argv[])
 

Macro Definition Documentation

#define MAX (   a,
 
)    ((a) > (b) ? (a) : (b))

Definition at line 16 of file flag_fbtest.c.

Function Documentation

void flag_random_f ( complex double *  f,
int  L,
int  N,
int  seed 
)

Definition at line 75 of file flag_fbtest.c.

void flag_random_flmn ( complex double *  flmn,
int  L,
int  N,
int  seed 
)

Definition at line 84 of file flag_fbtest.c.

void flag_random_flmn_real ( complex double *  flmn,
int  L,
int  N,
int  seed 
)

Definition at line 93 of file flag_fbtest.c.

void flag_sbesselslag_test_jlK ( double  Kval,
int  ell,
int  Nk,
int  N,
double  R,
int  seed 
)

Definition at line 238 of file flag_fbtest.c.

void flag_sbesselslag_test_simple ( int  Nk,
int  N,
double  R,
int  seed 
)

Definition at line 155 of file flag_fbtest.c.

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

Definition at line 289 of file flag_fbtest.c.

double maxerr ( double *  a,
double *  b,
int  size 
)

Definition at line 29 of file flag_fbtest.c.

double maxerr_cplx ( complex double *  a,
complex double *  b,
int  size 
)

Definition at line 18 of file flag_fbtest.c.

void print_f ( const complex double *  f,
int  L,
int  N 
)

Definition at line 116 of file flag_fbtest.c.

void print_f_real ( const double *  f,
int  L,
int  N 
)

Definition at line 129 of file flag_fbtest.c.

void print_flmn ( const complex double *  flmn,
int  L,
int  N 
)

Definition at line 142 of file flag_fbtest.c.

double ran2_dp ( int  idum)

Definition at line 39 of file flag_fbtest.c.