#include <itpp/base/elmatfunc.h>
Go to the source code of this file.
Namespaces | |
namespace | itpp |
Functions | |
vec | itpp::sqr (const cvec &x) |
Square of elements. | |
mat | itpp::sqr (const cmat &x) |
Square of elements. | |
ivec | itpp::abs (const ivec &x) |
Absolute value. | |
imat | itpp::abs (const imat &x) |
Absolute value. | |
vec | itpp::abs (const cvec &x) |
Absolute value. | |
mat | itpp::abs (const cmat &x) |
Absolute value. | |
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). | |
cvec | itpp::conj (const cvec &x) |
Conjugate of complex value. | |
cmat | itpp::conj (const cmat &x) |
Conjugate of complex value. | |
bool | itpp::all (const Vec< bin > &testvec) |
Returns true if all elements are ones and false otherwise. | |
bool | itpp::any (const Vec< bin > &testvec) |
Returns true if any element is one and false otherwise. | |
cvec | itpp::round_to_zero (const cvec &x, double threshold=1e-14) |
Round each element to zero if element < threshold. | |
cmat | itpp::round_to_zero (const cmat &x, double threshold=1e-14) |
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-2005 (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 Wed Apr 18 11:45:35 2007 for IT++ by Doxygen 1.5.2