Functions | |
arma_inline double | sp::sinc (double x) |
arma_inline arma::vec | sp::sinc (const arma::vec &x) |
arma_inline double | sp::besseli0 (double x) |
template<typename T > | |
double | sp::angle (const std::complex< T > &x) |
arma_inline arma::vec | sp::angle (const arma::cx_vec &x) |
arma_inline arma::mat | sp::angle (const arma::cx_mat &x) |
arma_inline arma::vec | sp::unwrap (const arma::vec &x) |
Variables | |
const double | sp::PI = 3.14159265358979323846 |
const double | sp::PI_2 = 6.28318530717958647692 |
double sp::angle | ( | const std::complex< T > & | x | ) |
Calculates angle in radians for complex input.
x | Complex input value |
Definition at line 67 of file base.h.
Referenced by sp::phasez(), and sp::specgram_ph().
arma_inline arma::vec sp::angle | ( | const arma::cx_vec & | x | ) |
arma_inline arma::mat sp::angle | ( | const arma::cx_mat & | x | ) |
arma_inline double sp::besseli0 | ( | double | x | ) |
Modified first kind bessel function order zero.
See bessel functions on Wikipedia
x |
Definition at line 51 of file base.h.
Referenced by sp::kaiser().
arma_inline double sp::sinc | ( | double | x | ) |
A sinc, sin(x)/x, function.
x | The angle in radians |
Definition at line 21 of file base.h.
Referenced by sp::fd_filter(), sp::fir1(), sp::fir1_bp(), sp::fir1_bs(), sp::fir1_hp(), and sp::sinc().
arma_inline arma::vec sp::sinc | ( | const arma::vec & | x | ) |
A sinc, sin(x)/x, function.
x | The angle in radians |
Definition at line 33 of file base.h.
References sp::sinc().
arma_inline arma::vec sp::unwrap | ( | const arma::vec & | x | ) |
const double sp::PI = 3.14159265358979323846 |
... or use arma::datum::pi
Definition at line 14 of file base.h.
Referenced by sp::fir1_bp(), sp::fir1_hp(), and sp::freq().
const double sp::PI_2 = 6.28318530717958647692 |
Definition at line 15 of file base.h.
Referenced by sp::cos_win(), sp::goertzel(), sp::hanning(), and sp::unwrap().