ARTS
2.0.49
complex.h
Go to the documentation of this file.
1
/* Copyright (C) 2002-2008 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
complex<Numeric>
Complex
;
33
34
complex<float>
operator+
(
const
double
& d,
const
complex<float>
& c);
35
complex<float>
operator*
(
const
double
& d,
const
complex<float>
& c);
36
37
complex<float>
operator+
(
const
complex<float>
& c,
const
double
& d);
38
complex<float>
operator*
(
const
complex<float>
& c,
const
double
& d);
39
40
complex<double>
operator+
(
const
float
& f,
const
complex<double>
& c);
41
complex<double>
operator*
(
const
float
& f,
const
complex<double>
& c);
42
43
complex<double>
operator+
(
const
complex<double>
& c,
const
float
& d);
44
complex<double>
operator*
(
const
complex<double>
& c,
const
float
& d);
45
46
#endif
47
matpack.h
operator+
complex< float > operator+(const double &d, const complex< float > &c)
Definition:
complex.cc:28
operator*
complex< float > operator*(const double &d, const complex< float > &c)
Definition:
complex.cc:33
Complex
complex< Numeric > Complex
Definition:
complex.h:32
complex
Definition:
continua.cc:12953
src
complex.h
Generated by
1.8.20