MADNESS  version 0.9
hyp.h
Go to the documentation of this file.
1 /*
2  This file is part of MADNESS.
3 
4  Copyright (C) 2007,2010 Oak Ridge National Laboratory
5 
6  This program is free software; you can redistribute it and/or modify
7  it under the terms of the GNU General Public License as published by
8  the Free Software Foundation; either version 2 of the License, or
9  (at your option) any later version.
10 
11  This program is distributed in the hope that it will be useful,
12  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  GNU General Public License for more details.
15 
16  You should have received a copy of the GNU General Public License
17  along with this program; if not, write to the Free Software
18  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 
20  For more information please contact:
21 
22  Robert J. Harrison
23  Oak Ridge National Laboratory
24  One Bethel Valley Road
25  P.O. Box 2008, MS-6367
26 
27  email: harrisonrj@ornl.gov
28  tel: 865-241-3937
29  fax: 865-572-0680
30 
31  $Id$
32 */
33 //By: Robert Harrison
34 #ifndef HYP_H
35 #define HYP_H
36 
37 #include <iostream>
38 #include <complex>
39 #include <algorithm>
40 #include <cstdio> //NEEDED
41 #include <cmath>
42 #include <nick/mpreal.h>
43 
44 
46 typedef std::complex<extended_real> extended_complex;
47 typedef std::complex<double> complexd;
48 
49 
51 
56 complexd conhyp(const complexd& a_arg,
57  const complexd& b_arg,
58  const complexd& z_arg);
59 #endif
Definition: mpreal.h:85
complexd conhyp(const complexd &a_arg, const complexd &b_arg, const complexd &z_arg)
Computes 1F1(a,b,z) internally using extended precision.
Definition: hyp.cc:45
mpfr::mpreal extended_real
Definition: hyp.h:45
std::complex< double > complexd
Definition: hyp.h:47
std::complex< extended_real > extended_complex
Definition: hyp.h:46
double_complex complexd
Definition: envelopedpulse.h:44