Functions | |
vec | itpp::exp (const vec &x) |
Exp of the elements. | |
cvec | itpp::exp (const cvec &x) |
Exp of cvec. | |
mat | itpp::exp (const mat &x) |
Exp of the elements. | |
cmat | itpp::exp (const cmat &x) |
Exp of cmat. | |
vec | itpp::pow (const double x, const vec &y) |
Calculates x to the power of y (x^y). | |
mat | itpp::pow (const double x, const mat &y) |
Calculates x to the power of y (x^y). | |
vec | itpp::pow (const vec &x, const double y) |
Calculates x to the power of y (x^y). | |
mat | itpp::pow (const mat &x, const double y) |
Calculates x to the power of y (x^y). | |
vec | itpp::pow2 (const vec &x) |
Calculates two to the power of x (2^x). | |
mat | itpp::pow2 (const mat &x) |
Calculates two to the power of x (2^x). | |
vec | itpp::pow10 (const vec &x) |
Calculates ten to the power of x (10^x). | |
mat | itpp::pow10 (const mat &x) |
Calculates ten to the power of x (10^x). | |
vec | itpp::log (const vec &x) |
The natural logarithm of the elements. | |
mat | itpp::log (const mat &x) |
The natural logarithm of the elements. | |
cvec | itpp::log (const cvec &x) |
The natural logarithm of the elements. | |
cmat | itpp::log (const cmat &x) |
The natural logarithm of the elements. | |
vec | itpp::log2 (const vec &x) |
log-2 of the elements | |
mat | itpp::log2 (const mat &x) |
log-2 of the elements | |
vec | itpp::log10 (const vec &x) |
log-10 of the elements | |
mat | itpp::log10 (const mat &x) |
log-10 of the elements | |
vec | itpp::logb (const short b, const vec &x) |
log-b of x | |
mat | itpp::logb (const short b, const mat &x) |
log-b of x | |
vec | itpp::dB (const vec &x) |
Calculates 10*log10(x). | |
mat | itpp::dB (const mat &x) |
Calculates 10*log10(x). | |
vec | itpp::inv_dB (const vec &x) |
Calulates the inverse of dB, 10^(x/10). | |
mat | itpp::inv_dB (const mat &x) |
Calculates the inverse of dB, 10^(x/10). | |
double | itpp::log2 (double x) |
Base-2 logarithm. | |
double | itpp::logb (double b, double x) |
Base-b logarithm. | |
int | itpp::int2bits (int n) |
Calculate the number of bits needed to represent an inteager n . | |
int | itpp::levels2bits (int n) |
Calculate the number of bits needed to represent n different values (levels). | |
int | itpp::needed_bits (int n) |
Deprecated function. Might be removed in future releases. Please use int2bits() or levels2bits() instead. | |
int | itpp::needed_bits (double n) |
Deprecated function. Might be removed in future releases. Please use int2bits() or levels2bits() instead. | |
int | itpp::pow2i (int x) |
Integer 2^x. | |
int | itpp::pow2 (int x) |
Calculate two to the power of x (2^x). | |
double | itpp::pow2 (double x) |
Calculate two to the power of x (2^x). | |
double | itpp::pow10 (double x) |
Calculate ten to the power of x (10^x). | |
double | itpp::dB (double x) |
Decibel of x (10*log10(x)). | |
double | itpp::inv_dB (double x) |
Inverse of decibel. |
Exp of the elements.
Definition at line 60 of file elmatfunc.h.
References itpp::exp(), and itpp::vec_function().
Referenced by itpp::arma_estimator(), itpp::cerf_rybicki(), itpp::cerfc_continued_fraction(), itpp::com_logmap(), and fpica().
Exp of cvec.
Definition at line 62 of file elmatfunc.h.
References itpp::cvec_function(), and itpp::exp().
Exp of the elements.
Definition at line 65 of file elmatfunc.h.
References itpp::exp(), and itpp::mat_function().
Exp of cmat.
Definition at line 67 of file elmatfunc.h.
References itpp::cmat_function().
Referenced by itpp::QAM::demodulate_soft_bits(), itpp::PSK::demodulate_soft_bits(), itpp::PAM::demodulate_soft_bits(), itpp::Modulator_2d::demodulate_soft_bits(), itpp::exp(), itpp::geometric_mean(), itpp::gmmtrain(), itpp::lar2rc(), itpp::GMM::likelihood_aposteriori(), tgamma(), and itpp::trunc_exp().
Calculates x to the power of y (x^y).
Definition at line 69 of file elmatfunc.h.
References itpp::double_vec_function(), and itpp::pow().
Referenced by fpica(), itpp::inv_dB(), mpower(), itpp::operator<<(), itpp::pow10(), itpp::pow2(), and itpp::TDL_Channel::set_channel_profile().
Calculates x to the power of y (x^y).
Definition at line 72 of file elmatfunc.h.
References itpp::double_mat_function(), and itpp::pow().
Calculates x to the power of y (x^y).
Definition at line 75 of file elmatfunc.h.
References itpp::pow(), and itpp::vec_double_function().
Calculates x to the power of y (x^y).
Definition at line 78 of file elmatfunc.h.
References itpp::mat_double_function().
Referenced by cbrt(), itpp::Cross_Interleaver< T >::deinterleave(), itpp::IFFT_Fading_Generator::generate_Jakes(), itpp::gmmtrain(), itpp::moment(), itpp::norm(), itpp::pow(), itpp::skewness(), and whitenv().
Calculates two to the power of x (2^x).
Definition at line 81 of file elmatfunc.h.
References itpp::vec_function().
Referenced by itpp::hadamard(), and itpp::pow2().
Calculates two to the power of x (2^x).
Definition at line 84 of file elmatfunc.h.
References itpp::mat_function(), and itpp::pow2().
Calculates ten to the power of x (10^x).
Definition at line 87 of file elmatfunc.h.
References itpp::vec_function().
Referenced by itpp::pow10().
Calculates ten to the power of x (10^x).
Definition at line 90 of file elmatfunc.h.
References itpp::mat_function(), and itpp::pow10().
The natural logarithm of the elements.
Definition at line 94 of file elmatfunc.h.
References itpp::log(), and itpp::vec_function().
Referenced by itpp::arma_estimator(), itpp::com_logmap(), itpp::erfinv(), and itpp::Rec_Syst_Conv_Code::set_generator_polynomials().
The natural logarithm of the elements.
Definition at line 96 of file elmatfunc.h.
References itpp::log(), and itpp::mat_function().
The natural logarithm of the elements.
Definition at line 98 of file elmatfunc.h.
References itpp::cvec_function(), and itpp::log().
The natural logarithm of the elements.
Definition at line 100 of file elmatfunc.h.
References itpp::cmat_function().
Referenced by acosh(), asinh(), atanh(), itpp::geometric_mean(), itpp::gmmtrain(), lgamma(), itpp::log(), itpp::log2(), itpp::logb(), itpp::rc2lar(), itpp::Complex_Normal_RNG::sample(), itpp::Laplace_RNG::sample(), itpp::Normal_RNG::sample(), tgamma(), and itpp::trunc_log().
log-2 of the elements
Definition at line 104 of file elmatfunc.h.
References itpp::vec_function().
Referenced by itpp::log2(), itpp::needed_bits(), itpp::Modulator_1d::set(), itpp::ND_UPAM::set_Gray_PAM(), itpp::ND_UPSK::set_Gray_PSK(), itpp::ND_UQAM::set_Gray_QAM(), itpp::QAM::set_M(), itpp::PSK::set_M(), itpp::PAM::set_M(), itpp::GF::set_size(), and itpp::xcorr().
log-2 of the elements
Definition at line 106 of file elmatfunc.h.
References itpp::log2(), and itpp::mat_function().
log-10 of the elements
Definition at line 109 of file elmatfunc.h.
References itpp::log10(), and itpp::vec_function().
Referenced by itpp::dB(), itpp::TDL_Channel::get_avg_power_dB(), itpp::TDL_Channel::get_channel_profile(), itpp::log_binom(), itpp::sd(), and itpp::vqtrain().
log-10 of the elements
Definition at line 111 of file elmatfunc.h.
References itpp::mat_function().
Referenced by itpp::log10().
log-b of x
Definition at line 113 of file elmatfunc.h.
References itpp::double_vec_function().
Referenced by itpp::logb().
log-b of x
Definition at line 115 of file elmatfunc.h.
References itpp::double_mat_function(), and itpp::logb().
Calculates 10*log10(x).
Definition at line 118 of file elmatfunc.h.
References itpp::vec_function().
Referenced by itpp::dB(), and itpp::Channel_Specification::discretize().
Calculates 10*log10(x).
Definition at line 120 of file elmatfunc.h.
References itpp::dB(), and itpp::mat_function().
Calulates the inverse of dB, 10^(x/10).
Definition at line 122 of file elmatfunc.h.
References itpp::vec_function().
Referenced by itpp::Channel_Specification::calc_mean_excess_delay(), itpp::Channel_Specification::calc_rms_delay_spread(), itpp::Channel_Specification::discretize(), and itpp::inv_dB().
Calculates the inverse of dB, 10^(x/10).
Definition at line 124 of file elmatfunc.h.
References itpp::inv_dB(), and itpp::mat_function().
double itpp::log2 | ( | double | x | ) | [inline] |
double itpp::logb | ( | double | b, | |
double | x | |||
) | [inline] |
int itpp::int2bits | ( | int | n | ) | [inline] |
Calculate the number of bits needed to represent an inteager n
.
Definition at line 257 of file scalfunc.h.
References it_assert.
Referenced by itpp::dec2bin(), itpp::levels2bits(), and itpp::needed_bits().
int itpp::levels2bits | ( | int | n | ) | [inline] |
Calculate the number of bits needed to represent n
different values (levels).
Definition at line 273 of file scalfunc.h.
References itpp::int2bits(), and it_assert.
Referenced by itpp::dht(), itpp::IFFT_Fading_Generator::generate_Jakes(), itpp::hadamard(), itpp::Vector_Quantizer::nobits(), itpp::self_dht(), itpp::Modulator_2d::set(), itpp::ND_UQAM::set_Gray_QAM(), itpp::spectrum(), and itpp::zero_pad().
int itpp::needed_bits | ( | int | n | ) | [inline] |
Deprecated function. Might be removed in future releases. Please use int2bits() or levels2bits() instead.
Definition at line 280 of file scalfunc.h.
References itpp::int2bits(), and it_warning.
int itpp::needed_bits | ( | double | n | ) | [inline] |
Deprecated function. Might be removed in future releases. Please use int2bits() or levels2bits() instead.
Definition at line 287 of file scalfunc.h.
References itpp::ceil_i(), it_assert, it_warning, and itpp::log2().
int itpp::pow2i | ( | int | x | ) | [inline] |
Integer 2^x.
Definition at line 295 of file scalfunc.h.
Referenced by itpp::bin2dec(), itpp::Convolutional_Code::calc_metric(), itpp::IFFT_Fading_Generator::generate_Jakes(), itpp::Gold::Gold(), itpp::hadamard(), itpp::Hamming_Code::Hamming_Code(), itpp::pow2(), itpp::Reed_Solomon::Reed_Solomon(), itpp::Convolutional_Code::set_generator_polynomials(), itpp::QAM::set_M(), itpp::PSK::set_M(), itpp::PAM::set_M(), itpp::spectrum(), itpp::xcorr(), and itpp::zero_pad().
int itpp::pow2 | ( | int | x | ) | [inline] |
Calculate two to the power of x (2^x).
Definition at line 297 of file scalfunc.h.
References itpp::pow2i().
double itpp::pow2 | ( | double | x | ) | [inline] |
Calculate two to the power of x (2^x).
Definition at line 300 of file scalfunc.h.
References itpp::pow().
double itpp::pow10 | ( | double | x | ) | [inline] |
Calculate ten to the power of x (10^x).
Definition at line 302 of file scalfunc.h.
References itpp::pow().
double itpp::dB | ( | double | x | ) | [inline] |
double itpp::inv_dB | ( | double | x | ) | [inline] |
Generated on Fri Jun 8 01:07:19 2007 for IT++ by Doxygen 1.5.2