IT++ Logo
Classes | Namespaces | Functions | Variables
vec.h File Reference

Templated Vector Class Definitions. More...

#include <itpp/base/itassert.h>
#include <itpp/base/math/misc.h>
#include <itpp/base/copy_vector.h>
#include <itpp/base/factory.h>
#include <vector>
#include <itpp/itexports.h>
#include <itpp/base/mat.h>

Go to the source code of this file.

Classes

class  itpp::Vec< Num_T >
 Vector Class (Templated) More...
 
class  itpp::Mat< Num_T >
 Matrix Class (Templated) More...
 
class  itpp::Vec< Num_T >
 Vector Class (Templated) More...
 

Namespaces

 itpp
 itpp namespace
 

Functions

template<class Num_T >
Vec< Num_T > itpp::operator+ (const Vec< Num_T > &v1, const Vec< Num_T > &v2)
 Addition of two vectors.
 
template<class Num_T >
Vec< Num_T > itpp::operator+ (const Vec< Num_T > &v, Num_T t)
 Addition of a vector and a scalar.
 
template<class Num_T >
Vec< Num_T > itpp::operator+ (Num_T t, const Vec< Num_T > &v)
 Addition of a scalar and a vector.
 
template<class Num_T >
Vec< Num_T > itpp::operator- (const Vec< Num_T > &v1, const Vec< Num_T > &v2)
 Subtraction of a vector from a vector. More...
 
template<class Num_T >
Vec< Num_T > itpp::operator- (const Vec< Num_T > &v, Num_T t)
 Subtraction of a scalar from a vector. More...
 
template<class Num_T >
Vec< Num_T > itpp::operator- (Num_T t, const Vec< Num_T > &v)
 Subtraction of vector from scalar. Results in a vector. More...
 
template<class Num_T >
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 of two vectors v1 and v2.
 
template<class Num_T >
Num_T itpp::operator* (const Vec< Num_T > &v1, const Vec< Num_T > &v2)
 Inner (dot) product of two vectors v1 and v2.
 
template<class Num_T >
Mat< Num_T > itpp::outer_product (const Vec< Num_T > &v1, const Vec< Num_T > &v2, bool hermitian=false)
 Outer product of two vectors v1 and v2. More...
 
template<class Num_T >
Vec< Num_T > itpp::operator* (const Vec< Num_T > &v, Num_T t)
 Multiplication of a vector and a scalar. More...
 
template<class Num_T >
Vec< Num_T > itpp::operator* (Num_T t, const Vec< Num_T > &v)
 Multiplication of a scalar and a vector. Results in a vector. More...
 
template<class Num_T >
Vec< Num_T > itpp::elem_mult (const Vec< Num_T > &a, const Vec< Num_T > &b)
 Element-wise multiplication of two vectors. More...
 
template<class Num_T >
Vec< Num_T > itpp::elem_mult (const Vec< Num_T > &a, const Vec< Num_T > &b, const Vec< Num_T > &c)
 Element-wise multiplication of three vectors. More...
 
template<class Num_T >
Vec< Num_T > itpp::elem_mult (const Vec< Num_T > &a, const Vec< Num_T > &b, const Vec< Num_T > &c, const Vec< Num_T > &d)
 Element-wise multiplication of four vectors. More...
 
template<class Num_T >
void itpp::elem_mult_out (const Vec< Num_T > &a, const Vec< Num_T > &b, Vec< Num_T > &out)
 Element-wise multiplication of two vectors, storing the result in vector out. More...
 
template<class Num_T >
void itpp::elem_mult_out (const Vec< Num_T > &a, const Vec< Num_T > &b, const Vec< Num_T > &c, Vec< Num_T > &out)
 Element-wise multiplication of three vectors, storing the result in vector out. More...
 
template<class Num_T >
void itpp::elem_mult_out (const Vec< Num_T > &a, const Vec< Num_T > &b, const Vec< Num_T > &c, const Vec< Num_T > &d, Vec< Num_T > &out)
 Element-wise multiplication of four vectors, storing the result in vector out. More...
 
template<class Num_T >
void itpp::elem_mult_inplace (const Vec< Num_T > &a, Vec< Num_T > &b)
 In-place element-wise multiplication of two vectors. Faster version of b = elem_mult(a,b). More...
 
template<class Num_T >
Num_T itpp::elem_mult_sum (const Vec< Num_T > &a, const Vec< Num_T > &b)
 Element-wise multiplication of two vectors, followed by summation of the resultant elements. Fast version of sum(elem_mult(a,b)). More...
 
template<class Num_T >
Vec< Num_T > itpp::operator/ (const Vec< Num_T > &v, Num_T t)
 Division of all elements in v with t. More...
 
template<class Num_T >
Vec< Num_T > itpp::operator/ (Num_T t, const Vec< Num_T > &v)
 Division of t with all elements in v. More...
 
template<class Num_T >
Vec< Num_T > itpp::elem_div (const Vec< Num_T > &a, const Vec< Num_T > &b)
 Elementwise division of two vectors. More...
 
template<class Num_T >
Vec< Num_T > itpp::elem_div (Num_T t, const Vec< Num_T > &v)
 This function is deprecated. Please use operator/(Num_T, const Vec<Num_T &) instead. More...
 
template<class Num_T >
void itpp::elem_div_out (const Vec< Num_T > &a, const Vec< Num_T > &b, Vec< Num_T > &out)
 Elementwise division of two vectors, storing the result in vector out. More...
 
template<class Num_T >
Num_T itpp::elem_div_sum (const Vec< Num_T > &a, const Vec< Num_T > &b)
 Elementwise division of two vectors, followed by summation of the resultant elements. Fast version of sum(elem_div(a,b)) More...
 
template<class Num_T >
Vec< Num_T > itpp::concat (const Vec< Num_T > &v, Num_T a)
 Append element a to the end of the vector v. More...
 
template<class Num_T >
Vec< Num_T > itpp::concat (Num_T a, const Vec< Num_T > &v)
 Concat element a to the beginning of the vector v. More...
 
template<class Num_T >
Vec< Num_T > itpp::concat (const Vec< Num_T > &v1, const Vec< Num_T > &v2)
 Concat vectors v1 and v2. More...
 
template<class Num_T >
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. More...
 
template<class Num_T >
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. More...
 
template<class Num_T >
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. More...
 
template<class Num_T >
std::ostream & itpp::operator<< (std::ostream &os, const Vec< Num_T > &v)
 Output stream operator of a vector v.
 
template<class Num_T >
std::istream & itpp::operator>> (std::istream &is, Vec< Num_T > &v)
 Input stream operator to read a vector.
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT vec itpp::operator+ (const vec &v1, const vec &v2)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT cvec itpp::operator+ (const cvec &v1, const cvec &v2)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT ivec itpp::operator+ (const ivec &v1, const ivec &v2)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT svec itpp::operator+ (const svec &v1, const svec &v2)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT bvec itpp::operator+ (const bvec &v1, const bvec &v2)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT vec itpp::operator+ (const vec &v1, double t)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT cvec itpp::operator+ (const cvec &v1, std::complex< double > t)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT ivec itpp::operator+ (const ivec &v1, int t)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT svec itpp::operator+ (const svec &v1, short t)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT bvec itpp::operator+ (const bvec &v1, bin t)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT vec itpp::operator+ (double t, const vec &v1)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT cvec itpp::operator+ (std::complex< double > t, const cvec &v1)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT ivec itpp::operator+ (int t, const ivec &v1)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT svec itpp::operator+ (short t, const svec &v1)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT bvec itpp::operator+ (bin t, const bvec &v1)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT vec itpp::operator- (const vec &v1, const vec &v2)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT cvec itpp::operator- (const cvec &v1, const cvec &v2)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT ivec itpp::operator- (const ivec &v1, const ivec &v2)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT svec itpp::operator- (const svec &v1, const svec &v2)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT bvec itpp::operator- (const bvec &v1, const bvec &v2)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT vec itpp::operator- (const vec &v, double t)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT cvec itpp::operator- (const cvec &v, std::complex< double > t)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT ivec itpp::operator- (const ivec &v, int t)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT svec itpp::operator- (const svec &v, short t)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT bvec itpp::operator- (const bvec &v, bin t)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT vec itpp::operator- (double t, const vec &v)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT cvec itpp::operator- (std::complex< double > t, const cvec &v)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT ivec itpp::operator- (int t, const ivec &v)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT svec itpp::operator- (short t, const svec &v)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT bvec itpp::operator- (bin t, const bvec &v)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT vec itpp::operator- (const vec &v)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT cvec itpp::operator- (const cvec &v)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT ivec itpp::operator- (const ivec &v)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT svec itpp::operator- (const svec &v)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT bvec itpp::operator- (const bvec &v)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT std::complex< double > itpp::dot (const cvec &v1, const cvec &v2)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT int itpp::dot (const ivec &v1, const ivec &v2)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT short itpp::dot (const svec &v1, const svec &v2)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT bin itpp::dot (const bvec &v1, const bvec &v2)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT double itpp::operator* (const vec &v1, const vec &v2)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT std::complex< double > itpp::operator* (const cvec &v1, const cvec &v2)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT int itpp::operator* (const ivec &v1, const ivec &v2)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT short itpp::operator* (const svec &v1, const svec &v2)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT bin itpp::operator* (const bvec &v1, const bvec &v2)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT imat itpp::outer_product (const ivec &v1, const ivec &v2, bool hermitian)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT smat itpp::outer_product (const svec &v1, const svec &v2, bool hermitian)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT bmat itpp::outer_product (const bvec &v1, const bvec &v2, bool hermitian)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT vec itpp::operator* (const vec &v, double t)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT cvec itpp::operator* (const cvec &v, std::complex< double > t)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT ivec itpp::operator* (const ivec &v, int t)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT svec itpp::operator* (const svec &v, short t)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT bvec itpp::operator* (const bvec &v, bin t)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT vec itpp::operator* (double t, const vec &v)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT cvec itpp::operator* (std::complex< double > t, const cvec &v)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT ivec itpp::operator* (int t, const ivec &v)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT svec itpp::operator* (short t, const svec &v)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT bvec itpp::operator* (bin t, const bvec &v)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT vec itpp::elem_mult (const vec &a, const vec &b)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT cvec itpp::elem_mult (const cvec &a, const cvec &b)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT ivec itpp::elem_mult (const ivec &a, const ivec &b)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT svec itpp::elem_mult (const svec &a, const svec &b)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT bvec itpp::elem_mult (const bvec &a, const bvec &b)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT void itpp::elem_mult_out (const vec &a, const vec &b, vec &out)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT void itpp::elem_mult_out (const cvec &a, const cvec &b, cvec &out)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT void itpp::elem_mult_out (const ivec &a, const ivec &b, ivec &out)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT void itpp::elem_mult_out (const svec &a, const svec &b, svec &out)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT void itpp::elem_mult_out (const bvec &a, const bvec &b, bvec &out)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT vec itpp::elem_mult (const vec &a, const vec &b, const vec &c)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT cvec itpp::elem_mult (const cvec &a, const cvec &b, const cvec &c)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT ivec itpp::elem_mult (const ivec &a, const ivec &b, const ivec &c)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT svec itpp::elem_mult (const svec &a, const svec &b, const svec &c)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT bvec itpp::elem_mult (const bvec &a, const bvec &b, const bvec &c)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT void itpp::elem_mult_out (const vec &a, const vec &b, const vec &c, vec &out)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT void itpp::elem_mult_out (const cvec &a, const cvec &b, const cvec &c, cvec &out)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT void itpp::elem_mult_out (const ivec &a, const ivec &b, const ivec &c, ivec &out)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT void itpp::elem_mult_out (const svec &a, const svec &b, const svec &c, svec &out)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT void itpp::elem_mult_out (const bvec &a, const bvec &b, const bvec &c, bvec &out)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT vec itpp::elem_mult (const vec &a, const vec &b, const vec &c, const vec &d)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT cvec itpp::elem_mult (const cvec &a, const cvec &b, const cvec &c, const cvec &d)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT ivec itpp::elem_mult (const ivec &a, const ivec &b, const ivec &c, const ivec &d)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT svec itpp::elem_mult (const svec &a, const svec &b, const svec &c, const svec &d)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT bvec itpp::elem_mult (const bvec &a, const bvec &b, const bvec &c, const bvec &d)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT void itpp::elem_mult_out (const vec &a, const vec &b, const vec &c, const vec &d, vec &out)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT void itpp::elem_mult_out (const cvec &a, const cvec &b, const cvec &c, const cvec &d, cvec &out)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT void itpp::elem_mult_out (const ivec &a, const ivec &b, const ivec &c, const ivec &d, ivec &out)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT void itpp::elem_mult_out (const svec &a, const svec &b, const svec &c, const svec &d, svec &out)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT void itpp::elem_mult_out (const bvec &a, const bvec &b, const bvec &c, const bvec &d, bvec &out)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT void itpp::elem_mult_inplace (const vec &a, vec &b)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT void itpp::elem_mult_inplace (const cvec &a, cvec &b)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT void itpp::elem_mult_inplace (const ivec &a, ivec &b)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT void itpp::elem_mult_inplace (const svec &a, svec &b)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT void itpp::elem_mult_inplace (const bvec &a, bvec &b)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT double itpp::elem_mult_sum (const vec &a, const vec &b)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT std::complex< double > itpp::elem_mult_sum (const cvec &a, const cvec &b)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT int itpp::elem_mult_sum (const ivec &a, const ivec &b)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT short itpp::elem_mult_sum (const svec &a, const svec &b)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT bin itpp::elem_mult_sum (const bvec &a, const bvec &b)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT vec itpp::operator/ (const vec &v, double t)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT cvec itpp::operator/ (const cvec &v, std::complex< double > t)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT ivec itpp::operator/ (const ivec &v, int t)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT svec itpp::operator/ (const svec &v, short t)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT bvec itpp::operator/ (const bvec &v, bin t)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT vec itpp::operator/ (double t, const vec &v)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT cvec itpp::operator/ (std::complex< double > t, const cvec &v)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT ivec itpp::operator/ (int t, const ivec &v)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT svec itpp::operator/ (short t, const svec &v)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT bvec itpp::operator/ (bin t, const bvec &v)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT vec itpp::elem_div (const vec &a, const vec &b)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT cvec itpp::elem_div (const cvec &a, const cvec &b)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT ivec itpp::elem_div (const ivec &a, const ivec &b)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT svec itpp::elem_div (const svec &a, const svec &b)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT bvec itpp::elem_div (const bvec &a, const bvec &b)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT vec itpp::elem_div (double t, const vec &v)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT cvec itpp::elem_div (std::complex< double > t, const cvec &v)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT ivec itpp::elem_div (int t, const ivec &v)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT svec itpp::elem_div (short t, const svec &v)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT bvec itpp::elem_div (bin t, const bvec &v)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT void itpp::elem_div_out (const vec &a, const vec &b, vec &out)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT void itpp::elem_div_out (const cvec &a, const cvec &b, cvec &out)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT void itpp::elem_div_out (const ivec &a, const ivec &b, ivec &out)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT void itpp::elem_div_out (const svec &a, const svec &b, svec &out)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT void itpp::elem_div_out (const bvec &a, const bvec &b, bvec &out)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT double itpp::elem_div_sum (const vec &a, const vec &b)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT std::complex< double > itpp::elem_div_sum (const cvec &a, const cvec &b)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT int itpp::elem_div_sum (const ivec &a, const ivec &b)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT short itpp::elem_div_sum (const svec &a, const svec &b)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT bin itpp::elem_div_sum (const bvec &a, const bvec &b)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT vec itpp::concat (const vec &v, double a)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT cvec itpp::concat (const cvec &v, std::complex< double > a)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT ivec itpp::concat (const ivec &v, int a)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT svec itpp::concat (const svec &v, short a)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT bvec itpp::concat (const bvec &v, bin a)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT vec itpp::concat (double a, const vec &v)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT cvec itpp::concat (std::complex< double > a, const cvec &v)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT ivec itpp::concat (int a, const ivec &v)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT svec itpp::concat (short a, const svec &v)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT bvec itpp::concat (bin a, const bvec &v)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT vec itpp::concat (const vec &v1, const vec &v2)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT cvec itpp::concat (const cvec &v1, const cvec &v2)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT ivec itpp::concat (const ivec &v1, const ivec &v2)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT svec itpp::concat (const svec &v1, const svec &v2)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT bvec itpp::concat (const bvec &v1, const bvec &v2)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT vec itpp::concat (const vec &v1, const vec &v2, const vec &v3)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT cvec itpp::concat (const cvec &v1, const cvec &v2, const cvec &v3)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT ivec itpp::concat (const ivec &v1, const ivec &v2, const ivec &v3)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT svec itpp::concat (const svec &v1, const svec &v2, const svec &v3)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT bvec itpp::concat (const bvec &v1, const bvec &v2, const bvec &v3)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT vec itpp::concat (const vec &v1, const vec &v2, const vec &v3, const vec &v4)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT cvec itpp::concat (const cvec &v1, const cvec &v2, const cvec &v3, const cvec &v4)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT ivec itpp::concat (const ivec &v1, const ivec &v2, const ivec &v3, const ivec &v4)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT svec itpp::concat (const svec &v1, const svec &v2, const svec &v3, const svec &v4)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT bvec itpp::concat (const bvec &v1, const bvec &v2, const bvec &v3, const bvec &v4)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT vec itpp::concat (const vec &v1, const vec &v2, const vec &v3, const vec &v4, const vec &v5)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT cvec itpp::concat (const cvec &v1, const cvec &v2, const cvec &v3, const cvec &v4, const cvec &v5)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT ivec itpp::concat (const ivec &v1, const ivec &v2, const ivec &v3, const ivec &v4, const ivec &v5)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT svec itpp::concat (const svec &v1, const svec &v2, const svec &v3, const svec &v4, const svec &v5)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT bvec itpp::concat (const bvec &v1, const bvec &v2, const bvec &v3, const bvec &v4, const bvec &v5)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT std::ostream & itpp::operator<< (std::ostream &os, const vec &vect)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT std::ostream & itpp::operator<< (std::ostream &os, const cvec &vect)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT std::ostream & itpp::operator<< (std::ostream &os, const svec &vect)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT std::ostream & itpp::operator<< (std::ostream &os, const ivec &vect)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT std::ostream & itpp::operator<< (std::ostream &os, const bvec &vect)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT std::istream & itpp::operator>> (std::istream &is, vec &vect)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT std::istream & itpp::operator>> (std::istream &is, cvec &vect)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT std::istream & itpp::operator>> (std::istream &is, svec &vect)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT std::istream & itpp::operator>> (std::istream &is, ivec &vect)
 
ITPP_EXPORT_TEMPLATE template ITPP_EXPORT std::istream & itpp::operator>> (std::istream &is, bvec &vect)
 

Variables

ITPP_EXPORT_TEMPLATE template class ITPP_EXPORT itpp::Vec< double >
 
ITPP_EXPORT_TEMPLATE template class ITPP_EXPORT itpp::Vec< int >
 
ITPP_EXPORT_TEMPLATE template class ITPP_EXPORT itpp::Vec< short int >
 
ITPP_EXPORT_TEMPLATE template class ITPP_EXPORT itpp::Vec< bin >
 

Detailed Description

Templated Vector Class Definitions.

Author
Tony Ottosson, Tobias Ringstrom, Adam Piatyszek and Conrad Sanderson

Copyright (C) 1995-2010 (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/.


Definition in file vec.h.

Generated on Thu Jun 21 2018 16:06:18 for IT++ by Doxygen 1.8.13