ccgsl 2.7.2
C++wrappersforGnuScientificLibrary
sf_synchrotron.hpp
Go to the documentation of this file.
1/*
2 * $Id: sf_synchrotron.hpp 9 2010-06-13 14:02:43Z jdl3 $
3 * Copyright (C) 2010 John D Lamb
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or (at
8 * your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18 */
19
20#ifndef CCGSL_SF_SYNCHROTRON_HPP
21#define CCGSL_SF_SYNCHROTRON_HPP
22
23#include<gsl/gsl_sf_synchrotron.h>
24#include"mode.hpp"
25#include"sf_result.hpp"
26
27namespace gsl {
28 namespace sf {
37 inline int synchrotron_1_e( double const x, result& result ){
38 return gsl_sf_synchrotron_1_e( x, &result ); }
46 inline double synchrotron_1( double const x ){ return gsl_sf_synchrotron_1( x ); }
55 inline int synchrotron_2_e( double const x, result& result ){
56 return gsl_sf_synchrotron_2_e( x, &result ); }
64 inline double synchrotron_2( double const x ){ return gsl_sf_synchrotron_2( x ); }
65 }
66}
67
68#endif
int synchrotron_2_e(double const x, result &result)
C++ version of gsl_sf_synchrotron_2_e().
double synchrotron_1(double const x)
C++ version of gsl_sf_synchrotron_1().
double synchrotron_2(double const x)
C++ version of gsl_sf_synchrotron_2().
gsl_sf_result result
Typedef for gsl_sf_result.
Definition: sf_result.hpp:30
int synchrotron_1_e(double const x, result &result)
C++ version of gsl_sf_synchrotron_1_e().
The gsl package creates an interface to the GNU Scientific Library for C++.
Definition: blas.hpp:34