Elementary mathematical functions - source file. More...
Go to the source code of this file.
Namespaces | |
namespace | itpp |
itpp namespace | |
Functions | |
vec | itpp::sqr (const cvec &x) |
Absolute square of elements. | |
mat | itpp::sqr (const cmat &x) |
Absolute square of elements. | |
vec | itpp::abs (const cvec &x) |
Absolute value. | |
mat | itpp::abs (const cmat &x) |
Absolute value. | |
double | itpp::gamma (double x) |
Deprecated gamma function - please use tgamma() instead. | |
vec | itpp::gamma (const vec &x) |
Deprecated gamma function for vectors. Will be changed to tgamma(). | |
mat | itpp::gamma (const mat &x) |
Deprecated gamma function for matrices. Will be changed to tgamma(). | |
double | itpp::fact (int index) |
Calculates factorial coefficient for index <= 170. | |
double | itpp::binom (int n, int k) |
Compute the binomial coefficient "n over k". | |
int | itpp::binom_i (int n, int k) |
Compute the binomial coefficient "n over k". | |
double | itpp::log_binom (int n, int k) |
Compute the base 10 logarithm of the binomial coefficient "n over k". | |
int | itpp::gcd (int a, int b) |
Compute the greatest common divisor (GCD) g of the elements a and b. | |
vec | itpp::real (const cvec &x) |
Real part of complex values. | |
mat | itpp::real (const cmat &x) |
Real part of complex values. | |
vec | itpp::imag (const cvec &x) |
Imaginary part of complex values. | |
mat | itpp::imag (const cmat &x) |
Imaginary part of complex values. | |
vec | itpp::arg (const cvec &x) |
Argument (angle) | |
mat | itpp::arg (const cmat &x) |
Argument (angle) | |
Elementary mathematical functions - source file.
Copyright (C) 1995-2010 (see AUTHORS file for a list of contributors)
This file is part of IT++ - a C++ library of mathematical, signal processing, speech processing, and communications classes and functions.
IT++ is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
IT++ is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with IT++. If not, see http://www.gnu.org/licenses/.
Definition in file elem_math.cpp.
Generated on Sat May 25 2013 16:32:24 for IT++ by Doxygen 1.8.2