operators.h File Reference

Definitions of operators for vectors and matricies of different types. More...

`#include <itpp/base/vec.h>`
`#include <itpp/base/mat.h>`
`#include <itpp/base/converters.h>`
`#include <itpp/itexports.h>`

Go to the source code of this file.

## Namespaces

| itpp
| itpp namespace

## Functions

std::complex< double > | itpp::operator+ (const int &x, const std::complex< double > &y)
| Addition operator for int and complex double.
std::complex< double > | itpp::operator+ (const float &x, const std::complex< double > &y)
| Addition operator for float and complex double.
std::complex< double > | itpp::operator+ (const std::complex< double > &x, const int &y)
| Addition operator for int and complex double.
std::complex< double > | itpp::operator+ (const std::complex< double > &x, const float &y)
| Addition operator for float and complex double.
std::complex< double > | itpp::operator- (const int &x, const std::complex< double > &y)
| Subtraction operator for int and complex double.
std::complex< double > | itpp::operator- (const float &x, const std::complex< double > &y)
| Subtraction operator for float and complex double.
std::complex< double > | itpp::operator- (const std::complex< double > &x, const int &y)
| Subtraction operator for int and complex double.
std::complex< double > | itpp::operator- (const std::complex< double > &x, const float &y)
| Subtraction operator for float and complex double.
std::complex< double > | itpp::operator* (const int &x, const std::complex< double > &y)
| Multiplication operator for int and complex double.
std::complex< double > | itpp::operator* (const float &x, const std::complex< double > &y)
| Multiplication operator for float and complex double.
std::complex< double > | itpp::operator* (const std::complex< double > &x, const int &y)
| Multiplication operator for int and complex double.
std::complex< double > | itpp::operator* (const std::complex< double > &x, const float &y)
| Multiplication operator for float and complex double.
std::complex< double > | itpp::operator/ (const std::complex< double > &x, const int &y)
| Division operator for complex double and int.
std::complex< double > | itpp::operator/ (const std::complex< double > &x, const float &y)
| Division operator for complex double and float.
vec | itpp::operator+ (const float &s, const vec &v)
| Addition operator for float and vec.
vec | itpp::operator+ (const short &s, const vec &v)
| Addition operator for short and vec.
vec | itpp::operator+ (const int &s, const vec &v)
| Addition operator for int and vec.
vec | itpp::operator+ (const vec &v, const float &s)
| Addition operator for vec and float.
vec | itpp::operator+ (const vec &v, const short &s)
| Addition operator for vec and short.
vec | itpp::operator+ (const vec &v, const int &s)
| Addition operator for vec and int.
vec | itpp::operator- (const float &s, const vec &v)
| Subtraction operator for float and vec.
vec | itpp::operator- (const short &s, const vec &v)
| Subtraction operator for short and vec.
vec | itpp::operator- (const int &s, const vec &v)
| Subtraction operator for int and vec.
vec | itpp::operator- (const vec &v, const float &s)
| Subtraction operator for vec and float.
vec | itpp::operator- (const vec &v, const short &s)
| Subtraction operator for vec and short.
vec | itpp::operator- (const vec &v, const int &s)
| Subtraction operator for vec and int.
vec | itpp::operator* (const float &s, const vec &v)
| Multiplication operator for float and vec.
vec | itpp::operator* (const short &s, const vec &v)
| Multiplication operator for short and vec.
vec | itpp::operator* (const int &s, const vec &v)
| Multiplication operator for int and vec.
cvec | itpp::operator* (const std::complex< double > &s, const vec &v)
| Multiplication operator for complex<double> and vec.
vec | itpp::operator* (const vec &v, const float &s)
| Multiplication operator for vec and float.
vec | itpp::operator* (const vec &v, const short &s)
| Multiplication operator for vec and short.
vec | itpp::operator* (const vec &v, const int &s)
| Multiplication operator for vec and int.
cvec | itpp::operator* (const vec &v, const std::complex< double > &s)
| Multiplication operator for vec and complex<double>
vec | itpp::operator/ (const vec &v, const float &s)
| Division operator for vec and float.
vec | itpp::operator/ (const vec &v, const short &s)
| Division operator for vec and short.
vec | itpp::operator/ (const vec &v, const int &s)
| Division operator for vec and int.
vec | itpp::operator+ (const double &s, const ivec &v)
| Addition operator for double and ivec.
vec | itpp::operator+ (const ivec &v, const double &s)
| Addition operator for ivec and double.
vec | itpp::operator- (const double &s, const ivec &v)
| Subtraction operator for double and ivec.
vec | itpp::operator- (const ivec &v, const double &s)
| Subtraction operator for ivec and double.
vec | itpp::operator* (const double &s, const ivec &v)
| Multiplication operator for double and ivec.
vec | itpp::operator* (const ivec &v, const double &s)
| Multiplication operator for ivec and double.
vec | itpp::operator/ (const double &s, const ivec &v)
| Division operator for double and ivec.
vec | itpp::operator/ (const ivec &v, const double &s)
| Division operator for ivec and double.
cvec | itpp::operator+ (const std::complex< double > &s, const ivec &v)
| Addition operator for complex<double> and ivec.
cvec | itpp::operator+ (const ivec &v, const std::complex< double > &s)
| Addition operator for ivec and complex<double>
cvec | itpp::operator- (const std::complex< double > &s, const ivec &v)
| Subtraction operator for complex<double> and ivec.
cvec | itpp::operator- (const ivec &v, const std::complex< double > &s)
| Subtraction operator for ivec and complex<double>
cvec | itpp::operator* (const std::complex< double > &s, const ivec &v)
| Multiplication operator for complex<double> and ivec.
cvec | itpp::operator* (const ivec &v, const std::complex< double > &s)
| Multiplication operator for ivec and complex<double>
cvec | itpp::operator/ (const std::complex< double > &s, const ivec &v)
| Division operator for complex<double> and ivec.
cvec | itpp::operator/ (const ivec &v, const std::complex< double > &s)
| Division operator for ivec and complex<double>
cvec | itpp::operator+ (const double &s, const cvec &v)
| Addition operator for double and cvec.
cvec | itpp::operator+ (const float &s, const cvec &v)
| Addition operator for float and cvec.
cvec | itpp::operator+ (const short &s, const cvec &v)
| Addition operator for short and cvec.
cvec | itpp::operator+ (const int &s, const cvec &v)
| Addition operator for int and cvec.
cvec | itpp::operator+ (const cvec &v, const float &s)
| Addition operator for cvec and float.
cvec | itpp::operator+ (const cvec &v, const double &s)
| Addition operator for cvec and double.
cvec | itpp::operator+ (const cvec &v, const short &s)
| Addition operator for cvec and short.
cvec | itpp::operator+ (const cvec &v, const int &s)
| Addition operator for cvec and int.
cvec | itpp::operator- (const double &s, const cvec &v)
| Subtraction operator for double and cvec.
cvec | itpp::operator- (const float &s, const cvec &v)
| Subtraction operator for float and cvec.
cvec | itpp::operator- (const short &s, const cvec &v)
| Subtraction operator for short and cvec.
cvec | itpp::operator- (const int &s, const cvec &v)
| Subtraction operator for int and cvec.
cvec | itpp::operator- (const cvec &v, const float &s)
| Subtraction operator for cvec and float.
cvec | itpp::operator- (const cvec &v, const double &s)
| Subtraction operator for cvec and double.
cvec | itpp::operator- (const cvec &v, const short &s)
| Subtraction operator for cvec and short.
cvec | itpp::operator- (const cvec &v, const int &s)
| Subtraction operator for cvec and int.
cvec | itpp::operator* (const double &s, const cvec &v)
| Multiplication operator for double and cvec.
cvec | itpp::operator* (const float &s, const cvec &v)
| Multiplication operator for float and cvec.
cvec | itpp::operator* (const short &s, const cvec &v)
| Multiplication operator for short and cvec.
cvec | itpp::operator* (const int &s, const cvec &v)
| Multiplication operator for int and cvec.
cvec | itpp::operator* (const cvec &v, const float &s)
| Multiplication operator for cvec and float.
cvec | itpp::operator* (const cvec &v, const double &s)
| Multiplication operator for cvec and double.
cvec | itpp::operator* (const cvec &v, const short &s)
| Multiplication operator for cvec and short.
cvec | itpp::operator* (const cvec &v, const int &s)
| Multiplication operator for cvec and int.
cvec | itpp::operator/ (const cvec &v, const double &s)
| Division operator for cvec and double.
cvec | itpp::operator/ (const double &s, const cvec &v)
| Division operator for double and cvec.
cvec | itpp::operator/ (const cvec &v, const float &s)
| Division operator for cvec and float.
cvec | itpp::operator/ (const cvec &v, const short &s)
| Division operator for cvec and short.
cvec | itpp::operator/ (const cvec &v, const int &s)
| Division operator for cvec and int.
mat | itpp::operator+ (const float &s, const mat &m)
| Addition operator for float and mat.
mat | itpp::operator+ (const short &s, const mat &m)
| Addition operator for short and mat.
mat | itpp::operator+ (const int &s, const mat &m)
| Addition operator for int and mat.
mat | itpp::operator+ (const mat &m, const float &s)
| Addition operator for mat and float.
mat | itpp::operator+ (const mat &m, const short &s)
| Addition operator for mat and short.
mat | itpp::operator+ (const mat &m, const int &s)
| Addition operator for mat and int.
mat | itpp::operator- (const float &s, const mat &m)
| Subtraction operator for float and mat.
mat | itpp::operator- (const short &s, const mat &m)
| Subtraction operator for short and mat.
mat | itpp::operator- (const int &s, const mat &m)
| Subtraction operator for int and mat.
mat | itpp::operator- (const mat &m, const float &s)
| Subtraction operator for mat and float.
mat | itpp::operator- (const mat &m, const short &s)
| Subtraction operator for mat and short.
mat | itpp::operator- (const mat &m, const int &s)
| Subtraction operator for mat and int.
mat | itpp::operator* (const float &s, const mat &m)
| Multiplication operator for float and mat.
mat | itpp::operator* (const short &s, const mat &m)
| Multiplication operator for short and mat.
mat | itpp::operator* (const int &s, const mat &m)
| Multiplication operator for int and mat.
mat | itpp::operator* (const mat &m, const float &s)
| Multiplication operator for mat and float.
mat | itpp::operator* (const mat &m, const short &s)
| Multiplication operator for mat and short.
mat | itpp::operator* (const mat &m, const int &s)
| Multiplication operator for mat and int.
mat | itpp::operator/ (const mat &m, const float &s)
| Division operator for mat and float.
mat | itpp::operator/ (const mat &m, const short &s)
| Division operator for mat and short.
mat | itpp::operator/ (const mat &m, const int &s)
| Division operator for mat and int.
cmat | itpp::operator+ (const double &s, const cmat &m)
| Addition operator for double and cmat.
cmat | itpp::operator- (const double &s, const cmat &m)
| Subtraction operator for double and cmat.
cmat | itpp::operator* (const double &s, const cmat &m)
| Multiplication operator for double and cmat.
cmat | itpp::operator* (const std::complex< double > &s, const mat &m)
| Multiplication operator for complex<double> and mat.
cmat | itpp::operator* (const mat &m, const std::complex< double > &s)
| Multiplication operator for mat and complex<double>
cmat | itpp::operator/ (const cmat &m, const double &s)
| Division operator for cmat and double.
vec | itpp::operator+ (const bvec &a, const vec &b)
| Addition operator for bvec and vec.
vec | itpp::operator+ (const svec &a, const vec &b)
| Addition operator for svec and vec.
vec | itpp::operator+ (const ivec &a, const vec &b)
| Addition operator for ivec and vec.
vec | itpp::operator+ (const vec &a, const bvec &b)
| Addition operator for vec and bvec.
vec | itpp::operator+ (const vec &a, const svec &b)
| Addition operator for vec and svec.
vec | itpp::operator+ (const vec &a, const ivec &b)
| Addition operator for vec and ivec.
vec | itpp::operator- (const bvec &a, const vec &b)
| Subtraction operator for bvec and vec.
vec | itpp::operator- (const svec &a, const vec &b)
| Subtraction operator for svec and vec.
vec | itpp::operator- (const ivec &a, const vec &b)
| Subtraction operator for ivec and vec.
vec | itpp::operator- (const vec &a, const bvec &b)
| Subtraction operator for vec and bvec.
vec | itpp::operator- (const vec &a, const svec &b)
| Subtraction operator for vec and svec.
vec | itpp::operator- (const vec &a, const ivec &b)
| Subtraction operator for vec and ivec.
double | itpp::operator* (const bvec &a, const vec &b)
| Multiplication operator for bvec and vec.
double | itpp::operator* (const svec &a, const vec &b)
| Multiplication operator for svec and vec.
double | itpp::operator* (const ivec &a, const vec &b)
| Multiplication operator for ivec and vec.
double | itpp::operator* (const vec &a, const bvec &b)
| Multiplication operator for vec and bvec.
double | itpp::operator* (const vec &a, const svec &b)
| Multiplication operator for vec and svec.
double | itpp::operator* (const vec &a, const ivec &b)
| Multiplication operator for vec and ivec.
cvec | itpp::operator+ (const bvec &a, const cvec &b)
| Addition operator for bvec and cvec.
cvec | itpp::operator+ (const svec &a, const cvec &b)
| Addition operator for svec and cvec.
cvec | itpp::operator+ (const ivec &a, const cvec &b)
| Addition operator for ivec and cvec.
cvec | itpp::operator+ (const cvec &a, const bvec &b)
| Addition operator for cvec and bvec.
cvec | itpp::operator+ (const cvec &a, const svec &b)
| Addition operator for cvec and svec.
cvec | itpp::operator+ (const cvec &a, const ivec &b)
| Addition operator for cvec and ivec.
cvec | itpp::operator- (const bvec &a, const cvec &b)
| Subtraction operator for bvec and cvec.
cvec | itpp::operator- (const svec &a, const cvec &b)
| Subtraction operator for svec and cvec.
cvec | itpp::operator- (const ivec &a, const cvec &b)
| Subtraction operator for ivec and cvec.
cvec | itpp::operator- (const cvec &a, const bvec &b)
| Subtraction operator for cvec and bvec.
cvec | itpp::operator- (const cvec &a, const svec &b)
| Subtraction operator for cvec and svec.
cvec | itpp::operator- (const cvec &a, const ivec &b)
| Subtraction operator for cvec and ivec.
std::complex< double > | itpp::operator* (const bvec &a, const cvec &b)
| Multiplication operator for bvec and cvec.
std::complex< double > | itpp::operator* (const svec &a, const cvec &b)
| Multiplication operator for svec and cvec.
std::complex< double > | itpp::operator* (const ivec &a, const cvec &b)
| Multiplication operator for ivec and cvec.
std::complex< double > | itpp::operator* (const cvec &a, const bvec &b)
| Multiplication operator for cvec and bvec.
std::complex< double > | itpp::operator* (const cvec &a, const svec &b)
| Multiplication operator for cvec and svec.
std::complex< double > | itpp::operator* (const cvec &a, const ivec &b)
| Multiplication operator for cvec and ivec.
mat | itpp::operator+ (const bmat &a, const mat &b)
| Addition operator for bmat and mat.
mat | itpp::operator+ (const smat &a, const mat &b)
| Addition operator for smat and mat.
mat | itpp::operator+ (const imat &a, const mat &b)
| Addition operator for imat and mat.
mat | itpp::operator+ (const mat &a, const bmat &b)
| Addition operator for mat and bmat.
mat | itpp::operator+ (const mat &a, const smat &b)
| Addition operator for mat and smat.
mat | itpp::operator+ (const mat &a, const imat &b)
| Addition operator for mat and imat.
mat | itpp::operator- (const bmat &a, const mat &b)
| Subtraction operator for bmat and mat.
mat | itpp::operator- (const smat &a, const mat &b)
| Subtraction operator for smat and mat.
mat | itpp::operator- (const imat &a, const mat &b)
| Subtraction operator for imat and mat.
mat | itpp::operator- (const mat &a, const bmat &b)
| Subtraction operator for mat and bmat.
mat | itpp::operator- (const mat &a, const smat &b)
| Subtraction operator for mat and smat.
mat | itpp::operator- (const mat &a, const imat &b)
| Subtraction operator for mat and imat.
cmat | itpp::operator+ (const bmat &a, const cmat &b)
| Addition operator for bmat and cmat.
cmat | itpp::operator+ (const smat &a, const cmat &b)
| Addition operator for smat and cmat.
cmat | itpp::operator+ (const imat &a, const cmat &b)
| Addition operator for imat and cmat.
cmat | itpp::operator+ (const mat &a, const cmat &b)
| Addition operator for mat and cmat.
cmat | itpp::operator+ (const cmat &a, const bmat &b)
| Addition operator for cmat and bmat.
cmat | itpp::operator+ (const cmat &a, const smat &b)
| Addition operator for cmat and smat.
cmat | itpp::operator+ (const cmat &a, const imat &b)
| Addition operator for cmat and imat.
cmat | itpp::operator+ (const cmat &a, const mat &b)
| Addition operator for cmat and mat.
cmat | itpp::operator- (const bmat &a, const cmat &b)
| Subtraction operator for bmat and cmat.
cmat | itpp::operator- (const smat &a, const cmat &b)
| Subtraction operator for smat and cmat.
cmat | itpp::operator- (const imat &a, const cmat &b)
| Subtraction operator for imat and cmat.
cmat | itpp::operator- (const mat &a, const cmat &b)
| Subtraction operator for mat and cmat.
cmat | itpp::operator- (const cmat &a, const bmat &b)
| Subtraction operator for cmat and bmat.
cmat | itpp::operator- (const cmat &a, const smat &b)
| Subtraction operator for cmat and smat.
cmat | itpp::operator- (const cmat &a, const imat &b)
| Subtraction operator for cmat and imat.
cmat | itpp::operator- (const cmat &a, const mat &b)
| Subtraction operator for cmat and mat.
cmat | itpp::operator* (const mat &a, const cmat &b)
| Multiplication operator for mat and cmat.
cmat | itpp::operator* (const bmat &a, const cmat &b)
| Multiplication operator for bmat and cmat.
cmat | itpp::operator* (const smat &a, const cmat &b)
| Multiplication operator for smat and cmat.
cmat | itpp::operator* (const imat &a, const cmat &b)
| Multiplication operator for imat and cmat.
cmat | itpp::operator* (const cmat &a, const mat &b)
| Multiplication operator for cmat and mat.
cmat | itpp::operator* (const cmat &a, const bmat &b)
| Multiplication operator for cmat and bmat.
cmat | itpp::operator* (const cmat &a, const smat &b)
| Multiplication operator for cmat and smat.
cmat | itpp::operator* (const cmat &a, const imat &b)
| Multiplication operator for cmat and imat.

## Detailed Description

Definitions of operators for vectors and matricies of different types.

Author
  Tony Ottosson

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 operators.h.

Generated on Tue Aug 17 2021 10:59:15 for IT++ by Doxygen 1.9.1