#include <itpp/base/elmatfunc.h>
#include <cstdlib>
Go to the source code of this file.
Namespaces | |
| namespace | itpp |
Functions | |
| vec | sqr (const cvec &x) |
| Square of elements. | |
| mat | sqr (const cmat &x) |
| Square of elements. | |
| ivec | abs (const ivec &data) |
| Absolute value. | |
| imat | abs (const imat &data) |
| Absolute value. | |
| vec | abs (const cvec &data) |
| Absolute value. | |
| mat | abs (const cmat &data) |
| Absolute value. | |
| vec | real (const cvec &data) |
| Real part of complex values. | |
| mat | real (const cmat &data) |
| Real part of complex values. | |
| vec | imag (const cvec &data) |
| Imaginary part of complex values. | |
| mat | imag (const cmat &data) |
| Imaginary part of complex values. | |
| vec | arg (const cvec &data) |
| Argument (angle). | |
| mat | arg (const cmat &data) |
| Argument (angle). | |
| cvec | conj (const cvec &data) |
| Conjugate of complex value. | |
| cmat | conj (const cmat &data) |
| Conjugate of complex value. | |
| bool | all (const Vec< bin > &testvec) |
| Returns true if all elements are ones and false otherwise. | |
| bool | any (const Vec< bin > &testvec) |
| Returns true if any element is one and false otherwise. | |
| cvec | round_to_zero (const cvec &x, double threshold) |
| Round each element to zero if element < threshold. | |
| cmat | round_to_zero (const cmat &x, double threshold) |
| Round each element to zero if element < threshold. | |
-------------------------------------------------------------------------
IT++ - C++ library of mathematical, signal processing, speech processing, and communications classes and functions
Copyright (C) 1995-2007 (see AUTHORS file for a list of contributors)
This program 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 2 of the License, or (at your option) any later version.
This program 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 this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-------------------------------------------------------------------------
Definition in file elmatfunc.cpp.
Generated on Fri Jan 11 08:51:39 2008 for IT++ by Doxygen 1.3.9.1