#include <itpp/config.h>
#include <itpp/itconfig.h>
#include <itpp/base/itassert.h>
#include <itpp/base/scalfunc.h>
#include <itpp/base/factory.h>
#include <itpp/base/copy_vector.h>
#include <itpp/base/mat.h>
Go to the source code of this file.
Namespaces | |
namespace | itpp |
Classes | |
class | itpp::Vec< Num_T > |
Templated vectors. More... | |
Functions | |
template<class Num_T> | |
const Vec< Num_T > | itpp::operator+ (const Vec< Num_T > &v1, const Vec< Num_T > &v2) |
Addition of two vectors. | |
template<class Num_T> | |
const Vec< Num_T > | itpp::operator+ (const Vec< Num_T > &v, const Num_T t) |
Addition of a vector and a scalar. | |
template<class Num_T> | |
const Vec< Num_T > | itpp::operator+ (const Num_T t, const Vec< Num_T > &v) |
Addition of a scalar and a vector. | |
template<class Num_T> | |
const Vec< Num_T > | itpp::operator- (const Vec< Num_T > &v1, const Vec< Num_T > &v2) |
Subtraction of v2 from v1 . | |
template<class Num_T> | |
const Vec< Num_T > | itpp::operator- (const Vec< Num_T > &v, const Num_T t) |
Subtraction of scalar from vector. | |
template<class Num_T> | |
const Vec< Num_T > | itpp::operator- (const Num_T t, const Vec< Num_T > &v) |
Sutraction of vector from scalar. | |
template<class Num_T> | |
const Vec< Num_T > | itpp::operator- (const Vec< Num_T > &v) |
Negation of vector. | |
template<class Num_T> | |
Num_T | itpp::dot (const Vec< Num_T > &v1, const Vec< Num_T > &v2) |
Inner (dot) product. | |
template<class Num_T> | |
Num_T | itpp::operator * (const Vec< Num_T > &v1, const Vec< Num_T > &v2) |
Inner (dot) product. | |
template<class Num_T> | |
const Mat< Num_T > | itpp::outer_product (const Vec< Num_T > &v1, const Vec< Num_T > &v2) |
Outer product of two vectors v1 and v2. | |
template<class Num_T> | |
const Vec< Num_T > | itpp::operator * (const Vec< Num_T > &v, const Num_T t) |
Elementwise multiplication of vector and scalar. | |
template<class Num_T> | |
const Vec< Num_T > | itpp::operator * (const Num_T t, const Vec< Num_T > &v) |
Elementwise multiplication of vector and scalar. | |
template<class Num_T> | |
const Vec< Num_T > | itpp::elem_mult (const Vec< Num_T > &v1, const Vec< Num_T > &v2) |
Elementwise multiplication. | |
template<class Num_T> | |
const Vec< Num_T > | itpp::elem_mult (const Vec< Num_T > &v1, const Vec< Num_T > &v2, const Vec< Num_T > &v3) |
Elementwise multiplication of three vectors. | |
template<class Num_T> | |
const Vec< Num_T > | itpp::elem_mult (const Vec< Num_T > &v1, const Vec< Num_T > &v2, const Vec< Num_T > &v3, const Vec< Num_T > &v4) |
Elementwise multiplication of four vectors. | |
template<class Num_T> | |
const Vec< Num_T > | itpp::operator/ (const Vec< Num_T > &v, const Num_T t) |
Elementwise division. | |
template<class Num_T> | |
const Vec< Num_T > | itpp::operator/ (const Num_T t, const Vec< Num_T > &v) |
Elementwise division. | |
template<class Num_T> | |
const Vec< Num_T > | itpp::elem_div (const Vec< Num_T > &v1, const Vec< Num_T > &v2) |
Elementwise division. | |
template<class Num_T> | |
const Vec< Num_T > | itpp::elem_div (const Num_T t, const Vec< Num_T > &v) |
Elementwise division. | |
template<class Num_T> | |
const Vec< Num_T > | itpp::concat (const Vec< Num_T > &v, const Num_T a) |
Append element a to the end of the vector v . | |
template<class Num_T> | |
const Vec< Num_T > | itpp::concat (const Num_T a, const Vec< Num_T > &v) |
Concat element a to the beginning of the vector v . | |
template<class Num_T> | |
const Vec< Num_T > | itpp::concat (const Vec< Num_T > &v1, const Vec< Num_T > &v2) |
Concat vectors v1 and v2 . | |
template<class Num_T> | |
const Vec< Num_T > | itpp::concat (const Vec< Num_T > &v1, const Vec< Num_T > &v2, const Vec< Num_T > &v3) |
Concat vectors v1 , v2 and v3 . | |
template<class Num_T> | |
const Vec< Num_T > | itpp::concat (const Vec< Num_T > &v1, const Vec< Num_T > &v2, const Vec< Num_T > &v3, const Vec< Num_T > &v4) |
Concat vectors v1 , v2 , v3 and v4 . | |
template<class Num_T> | |
const Vec< Num_T > | itpp::concat (const Vec< Num_T > &v1, const Vec< Num_T > &v2, const Vec< Num_T > &v3, const Vec< Num_T > &v4, const Vec< Num_T > &v5) |
Concat vectors v1 , v2 v3 , v4 and v5 . | |
template<> | |
double | itpp::dot (const vec &v1, const vec &v2) |
template<> | |
std::complex< double > | itpp::dot (const cvec &v1, const cvec &v2) |
template<class Num_T> | |
std::ostream & | itpp::operator<< (std::ostream &os, const Vec< Num_T > &v) |
template<class Num_T> | |
std::istream & | itpp::operator>> (std::istream &is, Vec< Num_T > &v) |
template const vec | itpp::operator+ (const vec &v1, const vec &v2) |
Template instantiation of operator+. | |
template const cvec | itpp::operator+ (const cvec &v1, const cvec &v2) |
Template instantiation of operator+. | |
template const ivec | itpp::operator+ (const ivec &v1, const ivec &v2) |
Template instantiation of operator+. | |
template const svec | itpp::operator+ (const svec &v1, const svec &v2) |
Template instantiation of operator+. | |
template const bvec | itpp::operator+ (const bvec &v1, const bvec &v2) |
Template instantiation of operator+. | |
template const vec | itpp::operator+ (const vec &v1, const double t) |
Template instantiation of operator+. | |
template const cvec | itpp::operator+ (const cvec &v1, std::complex< double > t) |
Template instantiation of operator+. | |
template const ivec | itpp::operator+ (const ivec &v1, const int t) |
Template instantiation of operator+. | |
template const svec | itpp::operator+ (const svec &v1, const short t) |
Template instantiation of operator+. | |
template const bvec | itpp::operator+ (const bvec &v1, const bin t) |
Template instantiation of operator+. | |
template const vec | itpp::operator+ (const double t, const vec &v1) |
Template instantiation of operator+. | |
template const cvec | itpp::operator+ (std::complex< double > t, const cvec &v1) |
Template instantiation of operator+. | |
template const ivec | itpp::operator+ (const int t, const ivec &v1) |
Template instantiation of operator+. | |
template const svec | itpp::operator+ (const short t, const svec &v1) |
Template instantiation of operator+. | |
template const bvec | itpp::operator+ (const bin t, const bvec &v1) |
Template instantiation of operator+. | |
template const vec | itpp::operator- (const vec &v1, const vec &v2) |
Template instantiation of operator-. | |
template const cvec | itpp::operator- (const cvec &v1, const cvec &v2) |
Template instantiation of operator-. | |
template const ivec | itpp::operator- (const ivec &v1, const ivec &v2) |
Template instantiation of operator-. | |
template const svec | itpp::operator- (const svec &v1, const svec &v2) |
Template instantiation of operator-. | |
template const bvec | itpp::operator- (const bvec &v1, const bvec &v2) |
Template instantiation of operator-. | |
template const vec | itpp::operator- (const vec &v, const double t) |
Template instantiation of operator-. | |
template const cvec | itpp::operator- (const cvec &v, std::complex< double > t) |
Template instantiation of operator-. | |
template const ivec | itpp::operator- (const ivec &v, const int t) |
Template instantiation of operator-. | |
template const svec | itpp::operator- (const svec &v, const short t) |
Template instantiation of operator-. | |
template const bvec | itpp::operator- (const bvec &v, const bin t) |
Template instantiation of operator-. | |
template const vec | itpp::operator- (const double t, const vec &v) |
Template instantiation of operator-. | |
template const cvec | itpp::operator- (std::complex< double > t, const cvec &v) |
Template instantiation of operator-. | |
template const ivec | itpp::operator- (const int t, const ivec &v) |
Template instantiation of operator-. | |
template const svec | itpp::operator- (const short t, const svec &v) |
Template instantiation of operator-. | |
template const bvec | itpp::operator- (const bin t, const bvec &v) |
Template instantiation of operator-. | |
template const vec | itpp::operator- (const vec &v) |
Template instantiation of operator-. | |
template const cvec | itpp::operator- (const cvec &v) |
Template instantiation of operator-. | |
template const ivec | itpp::operator- (const ivec &v) |
Template instantiation of operator-. | |
template const svec | itpp::operator- (const svec &v) |
Template instantiation of operator-. | |
template const bvec | itpp::operator- (const bvec &v) |
Template instantiation of operator-. | |
template int | itpp::dot (const ivec &v1, const ivec &v2) |
Template instantiation of dot. | |
template short | itpp::dot (const svec &v1, const svec &v2) |
Template instantiation of dot. | |
template bin | itpp::dot (const bvec &v1, const bvec &v2) |
Template instantiation of dot. | |
template int | itpp::operator * (const ivec &v1, const ivec &v2) |
Template instantiation of operator*. | |
template short | itpp::operator * (const svec &v1, const svec &v2) |
Template instantiation of operator*. | |
template bin | itpp::operator * (const bvec &v1, const bvec &v2) |
Template instantiation of operator*. | |
template const mat | itpp::outer_product (const vec &v1, const vec &v2) |
Template instantiation of outer_product. | |
template const cmat | itpp::outer_product (const cvec &v1, const cvec &v2) |
Template instantiation of outer_product. | |
template const imat | itpp::outer_product (const ivec &v1, const ivec &v2) |
Template instantiation of outer_product. | |
template const smat | itpp::outer_product (const svec &v1, const svec &v2) |
Template instantiation of outer_product. | |
template const bmat | itpp::outer_product (const bvec &v1, const bvec &v2) |
Template instantiation of outer_product. | |
template const vec | itpp::operator * (const vec &v, const double t) |
Template instantiation of operator*. | |
template const cvec | itpp::operator * (const cvec &v, std::complex< double > t) |
Template instantiation of operator*. | |
template const ivec | itpp::operator * (const ivec &v, const int t) |
Template instantiation of operator*. | |
template const svec | itpp::operator * (const svec &v, const short t) |
Template instantiation of operator*. | |
template const bvec | itpp::operator * (const bvec &v, const bin t) |
Template instantiation of operator*. | |
template const vec | itpp::operator * (const double t, const vec &v) |
Template instantiation of operator*. | |
template const cvec | itpp::operator * (std::complex< double > t, const cvec &v) |
Template instantiation of operator*. | |
template const ivec | itpp::operator * (const int t, const ivec &v) |
Template instantiation of operator*. | |
template const svec | itpp::operator * (const short t, const svec &v) |
Template instantiation of operator*. | |
template const bvec | itpp::operator * (const bin t, const bvec &v) |
Template instantiation of operator*. | |
template const vec | itpp::elem_mult (const vec &v1, const vec &v2) |
Template instantiation of elem_mult. | |
template const cvec | itpp::elem_mult (const cvec &v1, const cvec &v2) |
Template instantiation of elem_mult. | |
template const ivec | itpp::elem_mult (const ivec &v1, const ivec &v2) |
Template instantiation of elem_mult. | |
template const svec | itpp::elem_mult (const svec &v1, const svec &v2) |
Template instantiation of elem_mult. | |
template const bvec | itpp::elem_mult (const bvec &v1, const bvec &v2) |
Template instantiation of elem_mult. | |
template const vec | itpp::elem_mult (const vec &v1, const vec &v2, const vec &v3) |
Template instantiation of elem_mult. | |
template const cvec | itpp::elem_mult (const cvec &v1, const cvec &v2, const cvec &v3) |
Template instantiation of elem_mult. | |
template const ivec | itpp::elem_mult (const ivec &v1, const ivec &v2, const ivec &v3) |
Template instantiation of elem_mult. | |
template const svec | itpp::elem_mult (const svec &v1, const svec &v2, const svec &v3) |
Template instantiation of elem_mult. | |
template const bvec | itpp::elem_mult (const bvec &v1, const bvec &v2, const bvec &v3) |
Template instantiation of elem_mult. | |
template const vec | itpp::elem_mult (const vec &v1, const vec &v2, const vec &v3, const vec &v4) |
Template instantiation of elem_mult. | |
template const cvec | itpp::elem_mult (const cvec &v1, const cvec &v2, const cvec &v3, const cvec &v4) |
Template instantiation of elem_mult. | |
template const ivec | itpp::elem_mult (const ivec &v1, const ivec &v2, const ivec &v3, const ivec &v4) |
Template instantiation of elem_mult. | |
template const svec | itpp::elem_mult (const svec &v1, const svec &v2, const svec &v3, const svec &v4) |
Template instantiation of elem_mult. | |
template const bvec | itpp::elem_mult (const bvec &v1, const bvec &v2, const bvec &v3, const bvec &v4) |
Template instantiation of elem_mult. | |
template const vec | itpp::operator/ (const vec &v, const double t) |
Template instantiation of operator/. | |
template const cvec | itpp::operator/ (const cvec &v, std::complex< double > t) |
Template instantiation of operator/. | |
template const ivec | itpp::operator/ (const ivec &v, const int t) |
Template instantiation of operator/. | |
template const svec | itpp::operator/ (const svec &v, const short t) |
Template instantiation of operator/. | |
template const bvec | itpp::operator/ (const bvec &v, const bin t) |
Template instantiation of operator/. | |
template const vec | itpp::operator/ (const double t, const vec &v) |
Template instantiation of operator/. | |
template const cvec | itpp::operator/ (const std::complex< double > t, const cvec &v) |
Template instantiation of operator/. | |
template const ivec | itpp::operator/ (const int t, const ivec &v) |
Template instantiation of operator/. | |
template const svec | itpp::operator/ (const short t, const svec &v) |
Template instantiation of operator/. | |
template const bvec | itpp::operator/ (const bin t, const bvec &v) |
Template instantiation of operator/. | |
template const vec | itpp::elem_div (const vec &v1, const vec &v2) |
Template instantiation of elem_div. | |
template const cvec | itpp::elem_div (const cvec &v1, const cvec &v2) |
Template instantiation of elem_div. | |
template const ivec | itpp::elem_div (const ivec &v1, const ivec &v2) |
Template instantiation of elem_div. | |
template const svec | itpp::elem_div (const svec &v1, const svec &v2) |
Template instantiation of elem_div. | |
template const bvec | itpp::elem_div (const bvec &v1, const bvec &v2) |
Template instantiation of elem_div. | |
template const vec | itpp::elem_div (const double t, const vec &v) |
Template instantiation of elem_div. | |
template const cvec | itpp::elem_div (const std::complex< double > t, const cvec &v) |
Template instantiation of elem_div. | |
template const ivec | itpp::elem_div (const int t, const ivec &v) |
Template instantiation of elem_div. | |
template const svec | itpp::elem_div (const short t, const svec &v) |
Template instantiation of elem_div. | |
template const bvec | itpp::elem_div (const bin t, const bvec &v) |
Template instantiation of elem_div. | |
template const vec | itpp::concat (const vec &v, const double a) |
Template instantiation of concat. | |
template const cvec | itpp::concat (const cvec &v, const std::complex< double > a) |
Template instantiation of concat. | |
template const ivec | itpp::concat (const ivec &v, const int a) |
Template instantiation of concat. | |
template const svec | itpp::concat (const svec &v, const short a) |
Template instantiation of concat. | |
template const bvec | itpp::concat (const bvec &v, const bin a) |
Template instantiation of concat. | |
template const vec | itpp::concat (const double a, const vec &v) |
Template instantiation of concat. | |
template const cvec | itpp::concat (const std::complex< double > a, const cvec &v) |
Template instantiation of concat. | |
template const ivec | itpp::concat (const int a, const ivec &v) |
Template instantiation of concat. | |
template const svec | itpp::concat (const short a, const svec &v) |
Template instantiation of concat. | |
template const bvec | itpp::concat (const bin a, const bvec &v) |
Template instantiation of concat. | |
template const vec | itpp::concat (const vec &v1, const vec &v2) |
Template instantiation of concat. | |
template const cvec | itpp::concat (const cvec &v1, const cvec &v2) |
Template instantiation of concat. | |
template const ivec | itpp::concat (const ivec &v1, const ivec &v2) |
Template instantiation of concat. | |
template const svec | itpp::concat (const svec &v1, const svec &v2) |
Template instantiation of concat. | |
template const bvec | itpp::concat (const bvec &v1, const bvec &v2) |
Template instantiation of concat. | |
template const vec | itpp::concat (const vec &v1, const vec &v2, const vec &v3) |
Template instantiation of concat. | |
template const cvec | itpp::concat (const cvec &v1, const cvec &v2, const cvec &v3) |
Template instantiation of concat. | |
template const ivec | itpp::concat (const ivec &v1, const ivec &v2, const ivec &v3) |
Template instantiation of concat. | |
template const svec | itpp::concat (const svec &v1, const svec &v2, const svec &v3) |
Template instantiation of concat. | |
template const bvec | itpp::concat (const bvec &v1, const bvec &v2, const bvec &v3) |
Template instantiation of concat. | |
template const vec | itpp::concat (const vec &v1, const vec &v2, const vec &v3, const vec &v4) |
Template instantiation of concat. | |
template const cvec | itpp::concat (const cvec &v1, const cvec &v2, const cvec &v3, const cvec &v4) |
Template instantiation of concat. | |
template const ivec | itpp::concat (const ivec &v1, const ivec &v2, const ivec &v3, const ivec &v4) |
Template instantiation of concat. | |
template const svec | itpp::concat (const svec &v1, const svec &v2, const svec &v3, const svec &v4) |
Template instantiation of concat. | |
template const bvec | itpp::concat (const bvec &v1, const bvec &v2, const bvec &v3, const bvec &v4) |
Template instantiation of concat. | |
template const vec | itpp::concat (const vec &v1, const vec &v2, const vec &v3, const vec &v4, const vec &v5) |
Template instantiation of concat. | |
template const cvec | itpp::concat (const cvec &v1, const cvec &v2, const cvec &v3, const cvec &v4, const cvec &v5) |
Template instantiation of concat. | |
template const ivec | itpp::concat (const ivec &v1, const ivec &v2, const ivec &v3, const ivec &v4, const ivec &v5) |
Template instantiation of concat. | |
template const svec | itpp::concat (const svec &v1, const svec &v2, const svec &v3, const svec &v4, const svec &v5) |
Template instantiation of concat. | |
template const bvec | itpp::concat (const bvec &v1, const bvec &v2, const bvec &v3, const bvec &v4, const bvec &v5) |
Template instantiation of concat. | |
template std::ostream & | itpp::operator<< (std::ostream &os, const vec &vect) |
Template instantiation of output stream. | |
template std::ostream & | itpp::operator<< (std::ostream &os, const cvec &vect) |
Template instantiation of output stream. | |
template std::ostream & | itpp::operator<< (std::ostream &os, const svec &vect) |
Template instantiation of output stream. | |
template std::ostream & | itpp::operator<< (std::ostream &os, const ivec &vect) |
Template instantiation of output stream. | |
template std::ostream & | itpp::operator<< (std::ostream &os, const bvec &vect) |
Template instantiation of output stream. | |
template std::istream & | itpp::operator>> (std::istream &is, vec &vect) |
Template instantiation of input stream. | |
template std::istream & | itpp::operator>> (std::istream &is, cvec &vect) |
Template instantiation of input stream. | |
template std::istream & | itpp::operator>> (std::istream &is, svec &vect) |
Template instantiation of input stream. | |
template std::istream & | itpp::operator>> (std::istream &is, ivec &vect) |
Template instantiation of input stream. | |
template std::istream & | itpp::operator>> (std::istream &is, bvec &vect) |
Template instantiation of input stream. |
-------------------------------------------------------------------------
IT++ - C++ library of mathematical, signal processing, speech processing, and communications classes and functions
Copyright (C) 1995-2006 (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 vec.h.
Generated on Wed Apr 18 11:45:36 2007 for IT++ by Doxygen 1.5.2