NEURON
nrngsl_hc_radix2.cpp File Reference

Go to the source code of this file.

Functions

int FUNCTION (gsl_fft_halfcomplex, radix2_backward)(BASE data[]
 
int FUNCTION (gsl_fft_halfcomplex, radix2_inverse)(BASE data[]
 
 if (status)
 
 for (i=0;i< n;i++)
 
int FUNCTION (gsl_fft_halfcomplex, radix2_transform)(BASE data[]
 
 if (n==1)
 
 if (result==-1)
 
 for (i=1;i<=logn;i++)
 

Variables

int const size_t stride
 
int const size_t const size_t n
 
return status = FUNCTION(fft_real, bitreverse_order)(data, stride, n, logn)
 
size_t i
 
size_t p = n
 
size_t p_1 = n / 2
 
size_t q = 1
 
size_t logn = 0
 
 result = fft_binary_logn(n)
 
 else
 
 return
 

Function Documentation

◆ for() [1/2]

for ( )

Definition at line 39 of file nrngsl_hc_radix2.cpp.

◆ for() [2/2]

for ( i  = 1; i <= logni++)

Definition at line 75 of file nrngsl_hc_radix2.cpp.

◆ FUNCTION() [1/3]

int FUNCTION ( gsl_fft_halfcomplex  ,
radix2_backward   
)

◆ FUNCTION() [2/3]

int FUNCTION ( gsl_fft_halfcomplex  ,
radix2_inverse   
)

◆ FUNCTION() [3/3]

int FUNCTION ( gsl_fft_halfcomplex  ,
radix2_transform   
)

◆ if() [1/3]

if ( n  = = 1)

Definition at line 54 of file nrngsl_hc_radix2.cpp.

◆ if() [2/3]

if ( result  = = -1)

Definition at line 63 of file nrngsl_hc_radix2.cpp.

◆ if() [3/3]

if ( status  )

Definition at line 30 of file nrngsl_hc_radix2.cpp.

Variable Documentation

◆ else

else
Initial value:
{
size_t logn

Definition at line 65 of file nrngsl_hc_radix2.cpp.

◆ i

size_t i
Initial value:
{
const ATOMIC norm = 1.0 / n
double norm(const Point3D &p1)
Definition: lfp.hpp:22
#define ATOMIC
Definition: nrngsl.h:6
int const size_t const size_t n

Definition at line 38 of file nrngsl_hc_radix2.cpp.

◆ logn

size_t logn = 0

Definition at line 51 of file nrngsl_hc_radix2.cpp.

◆ n

int const size_t const size_t n
Initial value:
{
int status = FUNCTION(gsl_fft_halfcomplex, radix2_transform)(data, stride, n)
#define data
Definition: md1redef.h:36
return status
int const size_t stride
int FUNCTION(gsl_fft_halfcomplex, radix2_backward)(BASE data[]

Definition at line 21 of file nrngsl_hc_radix2.cpp.

◆ p

p = n

Definition at line 49 of file nrngsl_hc_radix2.cpp.

◆ p_1

p_1 = n / 2

Definition at line 49 of file nrngsl_hc_radix2.cpp.

◆ q

q = 1

Definition at line 49 of file nrngsl_hc_radix2.cpp.

◆ result

result = fft_binary_logn(n)

Definition at line 61 of file nrngsl_hc_radix2.cpp.

◆ return

return

Definition at line 155 of file nrngsl_hc_radix2.cpp.

◆ status

int status = FUNCTION(fft_real, bitreverse_order)(data, stride, n, logn)

Definition at line 23 of file nrngsl_hc_radix2.cpp.

◆ stride

int const size_t stride

Definition at line 21 of file nrngsl_hc_radix2.cpp.