ccgsl 2.7.2
C++wrappersforGnuScientificLibrary
sf_dilog.hpp
Go to the documentation of this file.
1/*
2 * $Id: sf_dilog.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_DILOG_HPP
21#define CCGSL_SF_DILOG_HPP
22
23#include<gsl/gsl_sf_dilog.h>
24#include"mode.hpp"
25#include"sf_result.hpp"
26
27namespace gsl {
28 namespace sf {
39 inline int dilog_e( double x, result& result ){ return gsl_sf_dilog_e( x, &result ); }
49 inline double dilog( double const x ){ return gsl_sf_dilog( x ); }
60 inline int complex_dilog_xy_e( double const x, double const y, result& result_re, result& result_im ){
61 return gsl_sf_complex_dilog_xy_e( x, y, &result_re, &result_im ); }
73 inline int complex_dilog_e( double const r, double const theta, result& result_re, result& result_im ){
74 return gsl_sf_complex_dilog_e( r, theta, &result_re, &result_im ); }
84 inline int complex_spence_xy_e( double const x, double const y, result& real_sp, result& imag_sp ){
85 return gsl_sf_complex_spence_xy_e( x, y, &real_sp, &imag_sp ); }
86 }
87}
88
89#endif
int complex_dilog_xy_e(double const x, double const y, result &result_re, result &result_im)
C++ version of gsl_sf_complex_dilog_xy_e().
Definition: sf_dilog.hpp:60
int complex_dilog_e(double const r, double const theta, result &result_re, result &result_im)
C++ version of gsl_sf_complex_dilog_e().
Definition: sf_dilog.hpp:73
int dilog_e(double x, result &result)
C++ version of gsl_sf_dilog().
Definition: sf_dilog.hpp:39
int complex_spence_xy_e(double const x, double const y, result &real_sp, result &imag_sp)
C++ version of gsl_sf_complex_spence_xy_e().
Definition: sf_dilog.hpp:84
double dilog(double const x)
C++ version of gsl_sf_dilog().
Definition: sf_dilog.hpp:49
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