Various functions on vectors and matrices - source file. More...
#include <itpp/base/matfunc.h>
#include <itpp/base/algebra/schur.h>
#include <itpp/base/converters.h>
#include <limits>
Go to the source code of this file.
Namespaces | |
namespace | itpp |
\ | |
Functions | |
cmat | itpp::sqrtm (const mat &A) |
Square root of the real square matrix A . | |
cmat | itpp::sqrtm (const cmat &A) |
Square root of the complex square matrix A . | |
bool | itpp::all (const bvec &testvec) |
Returns true if all elements are ones and false otherwise. | |
bool | itpp::any (const bvec &testvec) |
Returns true if any element is one and false otherwise. | |
template int | itpp::length (const vec &v) |
template int | itpp::length (const cvec &v) |
template int | itpp::length (const svec &v) |
template int | itpp::length (const ivec &v) |
template int | itpp::length (const bvec &v) |
template double | itpp::sum (const vec &v) |
template std::complex< double > | itpp::sum (const cvec &v) |
template short | itpp::sum (const svec &v) |
template int | itpp::sum (const ivec &v) |
template bin | itpp::sum (const bvec &v) |
template double | itpp::sum_sqr (const vec &v) |
template std::complex< double > | itpp::sum_sqr (const cvec &v) |
template short | itpp::sum_sqr (const svec &v) |
template int | itpp::sum_sqr (const ivec &v) |
template bin | itpp::sum_sqr (const bvec &v) |
template vec | itpp::cumsum (const vec &v) |
template cvec | itpp::cumsum (const cvec &v) |
template svec | itpp::cumsum (const svec &v) |
template ivec | itpp::cumsum (const ivec &v) |
template bvec | itpp::cumsum (const bvec &v) |
template double | itpp::prod (const vec &v) |
template std::complex< double > | itpp::prod (const cvec &v) |
template short | itpp::prod (const svec &v) |
template int | itpp::prod (const ivec &v) |
template bin | itpp::prod (const bvec &v) |
template vec | itpp::cross (const vec &v1, const vec &v2) |
template cvec | itpp::cross (const cvec &v1, const cvec &v2) |
template ivec | itpp::cross (const ivec &v1, const ivec &v2) |
template svec | itpp::cross (const svec &v1, const svec &v2) |
template bvec | itpp::cross (const bvec &v1, const bvec &v2) |
template vec | itpp::reverse (const vec &in) |
template cvec | itpp::reverse (const cvec &in) |
template svec | itpp::reverse (const svec &in) |
template ivec | itpp::reverse (const ivec &in) |
template bvec | itpp::reverse (const bvec &in) |
template vec | itpp::zero_pad (const vec &v, int n) |
template cvec | itpp::zero_pad (const cvec &v, int n) |
template ivec | itpp::zero_pad (const ivec &v, int n) |
template svec | itpp::zero_pad (const svec &v, int n) |
template bvec | itpp::zero_pad (const bvec &v, int n) |
template vec | itpp::zero_pad (const vec &v) |
template cvec | itpp::zero_pad (const cvec &v) |
template ivec | itpp::zero_pad (const ivec &v) |
template svec | itpp::zero_pad (const svec &v) |
template bvec | itpp::zero_pad (const bvec &v) |
template mat | itpp::zero_pad (const mat &, int, int) |
template cmat | itpp::zero_pad (const cmat &, int, int) |
template imat | itpp::zero_pad (const imat &, int, int) |
template smat | itpp::zero_pad (const smat &, int, int) |
template bmat | itpp::zero_pad (const bmat &, int, int) |
template vec | itpp::sum (const mat &m, int dim) |
template cvec | itpp::sum (const cmat &m, int dim) |
template svec | itpp::sum (const smat &m, int dim) |
template ivec | itpp::sum (const imat &m, int dim) |
template bvec | itpp::sum (const bmat &m, int dim) |
template double | itpp::sumsum (const mat &X) |
template std::complex< double > | itpp::sumsum (const cmat &X) |
template short | itpp::sumsum (const smat &X) |
template int | itpp::sumsum (const imat &X) |
template bin | itpp::sumsum (const bmat &X) |
template vec | itpp::sum_sqr (const mat &m, int dim) |
template cvec | itpp::sum_sqr (const cmat &m, int dim) |
template svec | itpp::sum_sqr (const smat &m, int dim) |
template ivec | itpp::sum_sqr (const imat &m, int dim) |
template bvec | itpp::sum_sqr (const bmat &m, int dim) |
template mat | itpp::cumsum (const mat &m, int dim) |
template cmat | itpp::cumsum (const cmat &m, int dim) |
template smat | itpp::cumsum (const smat &m, int dim) |
template imat | itpp::cumsum (const imat &m, int dim) |
template bmat | itpp::cumsum (const bmat &m, int dim) |
template vec | itpp::prod (const mat &m, int dim) |
template cvec | itpp::prod (const cmat &v, int dim) |
template svec | itpp::prod (const smat &m, int dim) |
template ivec | itpp::prod (const imat &m, int dim) |
template bvec | itpp::prod (const bmat &m, int dim) |
template vec | itpp::diag (const mat &in) |
template cvec | itpp::diag (const cmat &in) |
template void | itpp::diag (const vec &in, mat &m) |
template void | itpp::diag (const cvec &in, cmat &m) |
template mat | itpp::diag (const vec &v, const int K) |
template cmat | itpp::diag (const cvec &v, const int K) |
template mat | itpp::bidiag (const vec &, const vec &) |
template cmat | itpp::bidiag (const cvec &, const cvec &) |
template void | itpp::bidiag (const vec &, const vec &, mat &) |
template void | itpp::bidiag (const cvec &, const cvec &, cmat &) |
template void | itpp::bidiag (const mat &, vec &, vec &) |
template void | itpp::bidiag (const cmat &, cvec &, cvec &) |
template mat | itpp::tridiag (const vec &main, const vec &, const vec &) |
template cmat | itpp::tridiag (const cvec &main, const cvec &, const cvec &) |
template void | itpp::tridiag (const vec &main, const vec &, const vec &, mat &) |
template void | itpp::tridiag (const cvec &main, const cvec &, const cvec &, cmat &) |
template void | itpp::tridiag (const mat &m, vec &, vec &, vec &) |
template void | itpp::tridiag (const cmat &m, cvec &, cvec &, cvec &) |
template double | itpp::trace (const mat &in) |
template std::complex< double > | itpp::trace (const cmat &in) |
template short | itpp::trace (const smat &in) |
template int | itpp::trace (const imat &in) |
template bin | itpp::trace (const bmat &in) |
template void | itpp::transpose (const mat &m, mat &out) |
template void | itpp::transpose (const cmat &m, cmat &out) |
template void | itpp::transpose (const smat &m, smat &out) |
template void | itpp::transpose (const imat &m, imat &out) |
template void | itpp::transpose (const bmat &m, bmat &out) |
template mat | itpp::transpose (const mat &m) |
template cmat | itpp::transpose (const cmat &m) |
template smat | itpp::transpose (const smat &m) |
template imat | itpp::transpose (const imat &m) |
template bmat | itpp::transpose (const bmat &m) |
template void | itpp::hermitian_transpose (const mat &m, mat &out) |
template void | itpp::hermitian_transpose (const cmat &m, cmat &out) |
template void | itpp::hermitian_transpose (const smat &m, smat &out) |
template void | itpp::hermitian_transpose (const imat &m, imat &out) |
template void | itpp::hermitian_transpose (const bmat &m, bmat &out) |
template mat | itpp::hermitian_transpose (const mat &m) |
template cmat | itpp::hermitian_transpose (const cmat &m) |
template smat | itpp::hermitian_transpose (const smat &m) |
template imat | itpp::hermitian_transpose (const imat &m) |
template bmat | itpp::hermitian_transpose (const bmat &m) |
template vec | itpp::rvectorize (const mat &m) |
template cvec | itpp::rvectorize (const cmat &m) |
template ivec | itpp::rvectorize (const imat &m) |
template svec | itpp::rvectorize (const smat &m) |
template bvec | itpp::rvectorize (const bmat &m) |
template vec | itpp::cvectorize (const mat &m) |
template cvec | itpp::cvectorize (const cmat &m) |
template ivec | itpp::cvectorize (const imat &m) |
template svec | itpp::cvectorize (const smat &m) |
template bvec | itpp::cvectorize (const bmat &m) |
template mat | itpp::reshape (const mat &m, int rows, int cols) |
template cmat | itpp::reshape (const cmat &m, int rows, int cols) |
template imat | itpp::reshape (const imat &m, int rows, int cols) |
template smat | itpp::reshape (const smat &m, int rows, int cols) |
template bmat | itpp::reshape (const bmat &m, int rows, int cols) |
template mat | itpp::reshape (const vec &m, int rows, int cols) |
template cmat | itpp::reshape (const cvec &m, int rows, int cols) |
template imat | itpp::reshape (const ivec &m, int rows, int cols) |
template smat | itpp::reshape (const svec &m, int rows, int cols) |
template bmat | itpp::reshape (const bvec &m, int rows, int cols) |
template mat | itpp::kron (const mat &X, const mat &Y) |
template cmat | itpp::kron (const cmat &X, const cmat &Y) |
template imat | itpp::kron (const imat &X, const imat &Y) |
template smat | itpp::kron (const smat &X, const smat &Y) |
template bmat | itpp::kron (const bmat &X, const bmat &Y) |
template vec | itpp::repmat (const vec &v, int n) |
template cvec | itpp::repmat (const cvec &v, int n) |
template ivec | itpp::repmat (const ivec &v, int n) |
template svec | itpp::repmat (const svec &v, int n) |
template bvec | itpp::repmat (const bvec &v, int n) |
template mat | itpp::repmat (const vec &v, int m, int n, bool transpose) |
template cmat | itpp::repmat (const cvec &v, int m, int n, bool transpose) |
template imat | itpp::repmat (const ivec &v, int m, int n, bool transpose) |
template smat | itpp::repmat (const svec &v, int m, int n, bool transpose) |
template bmat | itpp::repmat (const bvec &v, int m, int n, bool transpose) |
template mat | itpp::repmat (const mat &data, int m, int n) |
template cmat | itpp::repmat (const cmat &data, int m, int n) |
template imat | itpp::repmat (const imat &data, int m, int n) |
template smat | itpp::repmat (const smat &data, int m, int n) |
template bmat | itpp::repmat (const bmat &data, int m, int n) |
Various functions on vectors and matrices - source file.
-------------------------------------------------------------------------
IT++ - C++ library of mathematical, signal processing, speech processing, and communications classes and functions
Copyright (C) 1995-2008 (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 matfunc.cpp.
Generated on Sat Feb 26 2011 16:06:35 for IT++ by Doxygen 1.7.3