00001 /* Copyright (C) 2002 Stefan Buehler <sbuehler@uni-bremen.de> 00002 00003 This program is free software; you can redistribute it and/or modify it 00004 under the terms of the GNU General Public License as published by the 00005 Free Software Foundation; either version 2, or (at your option) any 00006 later version. 00007 00008 This program is distributed in the hope that it will be useful, 00009 but WITHOUT ANY WARRANTY; without even the implied warranty of 00010 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00011 GNU General Public License for more details. 00012 00013 You should have received a copy of the GNU General Public License 00014 along with this program; if not, write to the Free Software 00015 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, 00016 USA. */ 00017 00026 #ifndef complex_h 00027 #define complex_h 00028 00029 #include <complex> 00030 #include "arts.h" 00031 00032 typedef complex<Numeric> Complex; 00033 00034 complex<float> operator+ (const double &d, const complex<float> &c); 00035 complex<float> operator* (const double &d, const complex<float> &c); 00036 00037 complex<float> operator+ (const complex<float> &c, const double &d); 00038 complex<float> operator* (const complex<float> &c, const double &d); 00039 00040 complex<double> operator+ (const float &f, const complex<double> &c); 00041 complex<double> operator* (const float &f, const complex<double> &c); 00042 00043 complex<double> operator+ (const complex<double> &c, const float &d); 00044 complex<double> operator* (const complex<double> &c, const float &d); 00045 00046 00047 //Complex asin( const Complex& a ); 00048 //Complex acos( const Complex& a ); 00049 00050 #endif 00051