ccgsl 2.7.2
C++wrappersforGnuScientificLibrary
sf_lambert.hpp
Go to the documentation of this file.
1/*
2 * $Id: sf_lambert.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_LAMBERT_HPP
21#define CCGSL_SF_LAMBERT_HPP
22
23#include<gsl/gsl_sf_lambert.h>
24#include"mode.hpp"
25#include"sf_result.hpp"
26
27namespace gsl {
28 namespace sf {
32 namespace lambert {
45 inline int W0_e( double x, result& result ){
46 return gsl_sf_lambert_W0_e( x, &result ); }
58 inline double W0( double x ){ return gsl_sf_lambert_W0( x ); }
72 inline int Wm1_e( double x, result& result ){
73 return gsl_sf_lambert_Wm1_e( x, &result ); }
86 inline double Wm1( double x ){ return gsl_sf_lambert_Wm1( x ); }
87 }
88 }
89}
90
91#endif
double const lambert()
Definition: const_cgs.hpp:347
double Wm1(double x)
C++ version of gsl_sf_lambert_Wm1().
Definition: sf_lambert.hpp:86
double W0(double x)
C++ version of gsl_sf_lambert_W0().
Definition: sf_lambert.hpp:58
int Wm1_e(double x, result &result)
C++ version of gsl_sf_lambert_Wm1_e().
Definition: sf_lambert.hpp:72
int W0_e(double x, result &result)
C++ version of gsl_sf_lambert_W0_e().
Definition: sf_lambert.hpp:45
gsl_sf_result result
Typedef for gsl_sf_result.
Definition: sf_result.hpp:30
The gsl package creates an interface to the GNU Scientific Library for C++.
Definition: blas.hpp:34