/*************************************************************************** gmf_bessel.h - wrapper for gsl bessel functions ------------------- begin : 2004-02-17 copyright : (C) 2004 by Andrew O'Neill, HiRes Grad Student email : oneill@phys.columbia.edu ***************************************************************************/ /* This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ // I've wrapped the gsl functions to behave like a mathematical function #ifndef GMF_BESSEL_H #define GMF_BESSEL_H #include "aon_debug.h" #include "gsl/gsl_errno.h" #include "gsl/gsl_sf_bessel.h" double BesselK(const double& Nu, const double& x); // this is to call the above function but is in a form that // gsl integration can use (needs x first, and parameters as some sort of array) double BesselK_gsl_form(double x, void* params); #endif