IT++ Logo
Namespaces | Functions
operators.cpp File Reference

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

#include <itpp/base/operators.h>

Go to the source code of this file.

Namespaces

namespace  itpp
 itpp namespace
 

Functions

vec itpp::operator+ (const double &s, const ivec &v)
 Addition operator for double and ivec.
 
vec itpp::operator- (const double &s, const ivec &v)
 Subtraction operator for double and ivec.
 
vec itpp::operator* (const double &s, const ivec &v)
 Multiplication operator for double and ivec.
 
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 std::complex< double > &s, const ivec &v)
 Subtraction operator for complex<double> and ivec.
 
cvec itpp::operator* (const std::complex< double > &s, const ivec &v)
 Multiplication operator for complex<double> and ivec.
 
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 double &s, const cvec &v)
 Subtraction operator for double and cvec.
 
cvec itpp::operator* (const double &s, const cvec &v)
 Multiplication operator for double and cvec.
 
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.
 
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 cmat &m, const double &s)
 Division operator for cmat and double.
 
cvec itpp::operator* (const std::complex< double > &s, const vec &v)
 Multiplication operator for complex<double> and vec.
 
cvec itpp::operator* (const vec &v, const std::complex< double > &s)
 Multiplication operator for vec and complex<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.
 
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.
 
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.
 
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.
 
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.
 
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.
 

Detailed Description

Implementation 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.cpp.

SourceForge Logo

Generated on Sat Jul 6 2013 10:54:26 for IT++ by Doxygen 1.8.2