FLAG  1.0b1
Exact Fourier-Laguerre transform in spherical coordinates
Functions
flag_spherbessel.c File Reference
#include "flag.h"
#include <math.h>
#include <stdlib.h>
#include <complex.h>
#include <gsl/gsl_math.h>
#include <gsl/gsl_sf.h>

Go to the source code of this file.

Functions

void flag_spherlaguerre2spherbessel (double *flk, const double *fn, double *kvalues, int Nk, int N, int ell, double tau)
 
void flag_fourierlaguerre2fourierbessel (complex double *flmk, complex double *flmn, double *kvalues, int Nk, int N, int L, double tau)
 
void flag_sbesselslag (double *sbesselslag, int ell, double *kvalues, int Nk, int N, double tau)
 
void flag_mulk (double *mulk, int n, int ell, double k, double tau)
 
void bubbleSort (double numbers[], int array_size)
 
void flag_sbesselslag_backup (double *sbesselslag, int ell, double *kvalues, int Nk, int N, double tau)
 
void flag_sbesselslag_backup2 (double *sbesselslag, int ell, double *kvalues, int Nk, int N, double tau)
 
void flag_sbesselslag_backup3 (double *sbesselslag, int ell, double *kvalues, int Nk, int N, double tau)
 

Function Documentation

void bubbleSort ( double  numbers[],
int  array_size 
)

Definition at line 253 of file flag_spherbessel.c.

void flag_fourierlaguerre2fourierbessel ( complex double *  flmk,
complex double *  flmn,
double *  kvalues,
int  Nk,
int  N,
int  L,
double  tau 
)

Compute the Fourier-Bessel transform from the Fourier-Laguerre transform.

Parameters
[out]flmkOutput Fourier-Bessel transform.
[in]flmnSpherical Laguerre transform of some 3D field f.
[in]kvaluesk scales on which the transform is performed.
[in]NkNumber of scales in the array kvalues.
[in]NRadial harmonic band-limit.
[in]LAngular harmonic band-limit.
[in]tauSLAG rescaling factor.
Return values
none

Definition at line 55 of file flag_spherbessel.c.

void flag_mulk ( double *  mulk,
int  n,
int  ell,
double  k,
double  tau 
)

TODO TODO TODO TODO TODO TODO

Definition at line 180 of file flag_spherbessel.c.

void flag_sbesselslag ( double *  sbesselslag,
int  ell,
double *  kvalues,
int  Nk,
int  N,
double  tau 
)

Compute SLAG transform of spherical Bessel function j_ell.

Parameters
[out]sbesselslagOutput transform in SLAG space.
[in]ellell order of the spherical Bessel function.
[in]kvaluesk scales on which the transform is performed.
[in]NkNumber of scales in the array kvalues.
[in]NHarmonic band-limit.
[in]tauSLAG rescaling factor.
Return values
none

Definition at line 71 of file flag_spherbessel.c.

void flag_sbesselslag_backup ( double *  sbesselslag,
int  ell,
double *  kvalues,
int  Nk,
int  N,
double  tau 
)

Definition at line 273 of file flag_spherbessel.c.

void flag_sbesselslag_backup2 ( double *  sbesselslag,
int  ell,
double *  kvalues,
int  Nk,
int  N,
double  tau 
)

Compute SLAG transform of spherical Bessel function j_ell.

Parameters
[out]sbesselslagOutput transform in SLAG space.
[in]ellell order of the spherical Bessel function.
[in]kvaluesk scales on which the transform is performed.
[in]NkNumber of scales in the array kvalues.
[in]NHarmonic band-limit.
[in]tauSLAG rescaling factor.
Return values
none

Definition at line 351 of file flag_spherbessel.c.

void flag_sbesselslag_backup3 ( double *  sbesselslag,
int  ell,
double *  kvalues,
int  Nk,
int  N,
double  tau 
)

Definition at line 457 of file flag_spherbessel.c.

void flag_spherlaguerre2spherbessel ( double *  flk,
const double *  fn,
double *  kvalues,
int  Nk,
int  N,
int  ell,
double  tau 
)

Compute the ell-th order spherical Bessel transform from the SLAG transform.

Parameters
[out]flkOutput transform in spherical Bessel space.
[in]fnSpherical Laguerre transform of some field f.
[in]kvaluesk scales on which the transform is performed.
[in]NkNumber of scales in the array kvalues.
[in]NHarmonic band-limit.
[in]ellell order of the spherical Bessel function.
[in]tauSLAG rescaling factor.
Return values
none

Definition at line 25 of file flag_spherbessel.c.