SPUC  3.0
Functions
SPUC functions

Functions

void SPUC::fft (std::vector< complex< float_type > > y, int n)
 fast fourier transforms (FFT) More...
 
void SPUC::idft (std::vector< complex< float_type > > y, int n)
 inverse discrete fourier transforms (IDFT) More...
 
void SPUC::dft (std::vector< complex< float_type > > y, int n)
 discrete fourier transforms (DFT) More...
 
void SPUC::ifft (std::vector< complex< float_type > > y, int n)
 inverse fast fourier transforms (IFFT) More...
 
bool SPUC::reduce (long x, long n)
 Exclusive or the bits in x together. More...
 
float_type SPUC::erfc1 (float_type x)
 Standard erfc1 function. More...
 
float_type SPUC::erf1 (float_type x)
 Standard erf1 function. More...
 
void SPUC::swap (int *a, int *b)
 Swap two integers. More...
 
void SPUC::quicksort (int *v, unsigned n)
 Quicksort routine for array of integers. More...
 
float_type SPUC::sqrt (float_type x)
 sqrt More...
 
complex< float_type > SPUC::sqrt (complex< float_type > x)
 sqrt More...
 
complex< float_type > SPUC::sqrt (complex< long > x)
 sqrt More...
 
float_type SPUC::coshin (float_type x)
 
float_type SPUC::arccos (float_type x)
 
float_type SPUC::cosh (float_type x)
 
float_type SPUC::sinh (float_type x)
 
float_type SPUC::cos (float_type x)
 
complex< float_type > SPUC::cos (complex< float_type > x)
 
complex< float_type > SPUC::exp (complex< float_type > x)
 complex exponential More...
 
float_type SPUC::hypot (complex< float_type > z)
 
complex< float_type > SPUC::polar (float_type amp, float_type arg)
 Polar to rectangular conversion. More...
 

Detailed Description

Function Documentation

float_type SPUC::arccos ( float_type  x)

function for inverse cosine of x

Author
Tony Kirke

References PI, and SPUC::sqrt().

Here is the call graph for this function:

float_type SPUC::cos ( float_type  cos)
complex< float_type > SPUC::cos ( complex< float_type >  x)

cos function with various overloads

Author
Tony Kirke

References SPUC::cos(), SPUC::cosh(), and SPUC::sinh().

Here is the call graph for this function:

float_type SPUC::cosh ( float_type  x)

function for hyperbolic cosine of x

Author
Tony Kirke

References SPUC::exp().

Referenced by SPUC::chebc(), SPUC::cheby(), SPUC::chebyshev_s(), and SPUC::cos().

Here is the call graph for this function:

float_type SPUC::coshin ( float_type  x)

function for hyperbolic inverse cosine of x

Author
Tony Kirke

References SPUC::sqrt().

Referenced by SPUC::chebc(), and SPUC::cheby().

Here is the call graph for this function:

void SPUC::dft ( std::vector< complex< float_type > >  y,
int  n 
)

discrete fourier transforms (DFT)

Author
Tony Kirke

References SPUC::expj(), and TWOPI.

Here is the call graph for this function:

float_type SPUC::erf1 ( float_type  x)

Standard erf1 function.

Author
Tony Kirke

References SPUC::erfc1().

Here is the call graph for this function:

float_type SPUC::erfc1 ( float_type  x)

Standard erfc1 function.

Author
Tony Kirke

References SPUC::exp().

Referenced by SPUC::erf1().

Here is the call graph for this function:

complex< float_type > SPUC::exp ( complex< float_type >  x)

complex exponential

exp function with various overloads

Author
Tony Kirke

References SPUC::expj().

Referenced by SPUC::butterworth_fir(), SPUC::cosh(), SPUC::erfc1(), SPUC::find_roots(), SPUC::gaussian_fir(), SPUC::fading_channel::generate_channel(), SPUC::msqrt(), SPUC::sum_and_dump< CNumeric >::set_exp(), and SPUC::sinh().

Here is the call graph for this function:

void SPUC::fft ( std::vector< complex< float_type > >  y,
int  n 
)

fast fourier transforms (FFT)

Author
Tony Kirke

References SPUC::expj(), and TWOPI.

Here is the call graph for this function:

float_type SPUC::hypot ( complex< float_type >  z)
inline

magnitude of a complex number

Author
Tony Kirke

References SPUC::magsq(), and SPUC::sqrt().

Referenced by SPUC::freqz_mag_point(), and SPUC::ptr_freqz_mag_point().

Here is the call graph for this function:

void SPUC::idft ( std::vector< complex< float_type > >  y,
int  n 
)

inverse discrete fourier transforms (IDFT)

Author
Tony Kirke

References SPUC::expj(), and TWOPI.

Here is the call graph for this function:

void SPUC::ifft ( std::vector< complex< float_type > >  y,
int  n 
)

inverse fast fourier transforms (IFFT)

Author
Tony Kirke

References SPUC::expj(), and TWOPI.

Here is the call graph for this function:

complex< float_type > SPUC::polar ( float_type  amp,
float_type  arg 
)

Polar to rectangular conversion.

convert from polar to cartesian

Author
Tony Kirke

References SPUC::cos().

Referenced by SPUC::bpe< Numeric, Coeff >::clock(), SPUC::other_freq(), SPUC::sqrt(), and SPUC::z_freqz_db().

Here is the call graph for this function:

void SPUC::quicksort ( int *  v,
unsigned  n 
)

Quicksort routine for array of integers.

Author
Tony Kirke

References SPUC::swap().

Here is the call graph for this function:

bool SPUC::reduce ( long  x,
long  n 
)

Exclusive or the bits in x together.

Author
Tony Kirke

Referenced by SPUC::data_conv_encoder::conv_encoder().

float_type SPUC::sinh ( float_type  x)

function for hyperbolic sine of x

Author
Tony Kirke

References SPUC::exp().

Referenced by SPUC::chebyshev_s(), and SPUC::cos().

Here is the call graph for this function:

float_type SPUC::sqrt ( float_type  x)
complex< float_type > SPUC::sqrt ( complex< float_type >  x)

sqrt

Author
Tony Kirke

References SPUC::arg(), SPUC::magsq(), SPUC::polar(), and SPUC::sqrt().

Here is the call graph for this function:

complex< float_type > SPUC::sqrt ( complex< long >  x)

sqrt

Author
Tony Kirke

References SPUC::arg(), SPUC::magsq(), SPUC::polar(), and SPUC::sqrt().

Here is the call graph for this function:

void SPUC::swap ( int *  a,
int *  b 
)

Swap two integers.

Author
Tony Kirke

Referenced by SPUC::quicksort().