ARTS  2.2.66
complex.h
Go to the documentation of this file.
1 /* Copyright (C) 2002-2012 Stefan Buehler <sbuehler@ltu.se>
2 
3  This program is free software; you can redistribute it and/or modify it
4  under the terms of the GNU General Public License as published by the
5  Free Software Foundation; either version 2, or (at your option) any
6  later version.
7 
8  This program is distributed in the hope that it will be useful,
9  but WITHOUT ANY WARRANTY; without even the implied warranty of
10  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11  GNU General Public License for more details.
12 
13  You should have received a copy of the GNU General Public License
14  along with this program; if not, write to the Free Software
15  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
16  USA. */
17 
26 #ifndef complex_h
27 #define complex_h
28 
29 #include <complex>
30 #include "matpack.h"
31 
32 typedef std::complex<Numeric> Complex;
33 
34 std::complex<float> operator+ (const double& d, const std::complex<float>& c);
35 std::complex<float> operator* (const double& d, const std::complex<float>& c);
36 
37 std::complex<float> operator+ (const std::complex<float>& c, const double& d);
38 std::complex<float> operator* (const std::complex<float>& c, const double& d);
39 
40 std::complex<double> operator+ (const float& f, const std::complex<double>& c);
41 std::complex<double> operator* (const float& f, const std::complex<double>& c);
42 
43 std::complex<double> operator+ (const std::complex<double>& c, const float& d);
44 std::complex<double> operator* (const std::complex<double>& c, const float& d);
45 
46 #endif
47 
std::complex< Numeric > Complex
Definition: complex.h:32
std::complex< float > operator*(const double &d, const std::complex< float > &c)
std::complex< float > operator+(const double &d, const std::complex< float > &c)