#include <itpp/base/math/elem_math.h>
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::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). | |
-------------------------------------------------------------------------
Copyright (C) 1995-2008 (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/>.
-------------------------------------------------------------------------
1.5.8