casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
complex.h
Go to the documentation of this file.
00001 //# aipstype.h: Global initialization for standard aips++ types
00002 //# Copyright (C) 2000,2001,2002
00003 //# Associated Universities, Inc. Washington DC, USA.
00004 //#
00005 //# This library is free software; you can redistribute it and/or modify it
00006 //# under the terms of the GNU Library General Public License as published by
00007 //# the Free Software Foundation; either version 2 of the License, or (at your
00008 //# option) any later version.
00009 //#
00010 //# This library is distributed in the hope that it will be useful, but WITHOUT
00011 //# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
00012 //# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Library General Public
00013 //# License for more details.
00014 //#
00015 //# You should have received a copy of the GNU Library General Public License
00016 //# along with this library; if not, write to the Free Software Foundation,
00017 //# Inc., 675 Massachusetts Ave, Cambridge, MA 02139, USA.
00018 //#
00019 //# Correspondence concerning AIPS++ should be addressed as follows:
00020 //#        Internet email: aips2-request@nrao.edu.
00021 //#        Postal address: AIPS++ Project Office
00022 //#                        National Radio Astronomy Observatory
00023 //#                        520 Edgemont Road
00024 //#                        Charlottesville, VA 22903-2475 USA
00025 //#
00026 //# $Id: complex.h 20551 2009-03-25 00:11:33Z Malte.Marquarding $
00027 
00028 #ifndef CASA_STD_COMPLEX_H
00029 #define CASA_STD_COMPLEX_H
00030 
00031 // Make sure any special macros are set
00032 #include <casa/aips.h>
00033 
00034 #if defined(AIPS_SGI)
00035 #include <complex.h>
00036 #else
00037 #include <complex>
00038 #ifndef AIPS_CRAY_PGI
00039 #define NEEDS_LOG10_COMPLEX
00040 #endif
00041 #endif
00042 
00043 namespace casa { //# NAMESPACE CASA - BEGIN
00044 
00045 using std::real;
00046 using std::imag;
00047 using std::norm;
00048 using std::abs;
00049 using std::arg;
00050 //using std::conj;
00051 using std::cos;
00052 using std::cosh;
00053 using std::sin;
00054 using std::sinh;
00055 using std::tan;
00056 using std::tanh;
00057 using std::exp;
00058 using std::log;
00059 using std::sqrt;
00060 using std::polar;
00061 using std::pow;
00062 
00063 } //# NAMESPACE CASA - END
00064 
00065 #endif