ccgsl 2.7.2
C++wrappersforGnuScientificLibrary
sf_psi.hpp
Go to the documentation of this file.
1/*
2 * $Id: sf_psi.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_PSI_HPP
21#define CCGSL_SF_PSI_HPP
22
23#include<gsl/gsl_sf_psi.h>
24#include"mode.hpp"
25#include"sf_result.hpp"
26
27namespace gsl {
28 namespace sf {
42 inline int psi_int_e( int const n, result& result ){ return gsl_sf_psi_int_e( n, &result ); }
55 inline double psi_int( int const n ){ return gsl_sf_psi_int( n ); }
69 inline int psi_e( double const x, result& result ){ return gsl_sf_psi_e( x, &result ); }
82 inline double psi( double const x ){ return gsl_sf_psi( x ); }
94 inline int psi_1piy_e( double const y, result& result ){ return gsl_sf_psi_1piy_e( y, &result ); }
105 inline double psi_1piy( double const y ){ return gsl_sf_psi_1piy( y ); }
117 inline int complex_psi_e( double const x, double const y, result& result_re, result& result_im ){
118 return gsl_sf_complex_psi_e( x, y, &result_re, &result_im ); }
130 inline int psi_1_int_e( int const n, result& result ){ return gsl_sf_psi_1_int_e( n, &result ); }
141 inline double psi_1_int( int const n ){ return gsl_sf_psi_1_int( n ); }
155 inline int psi_1_e( double const x, result& result ){ return gsl_sf_psi_1_e( x, &result ); }
168 inline double psi_1( double const x ){ return gsl_sf_psi_1( x ); }
183 inline int psi_n_e( int const n, double const x, result& result ){ return gsl_sf_psi_n_e( n, x, &result ); }
197 inline double psi_n( int const n, double const x ){ return gsl_sf_psi_n( n, x ); }
198 }
199}
200
201#endif
size_t n(workspace const &w)
C++ version of gsl_rstat_n().
Definition: rstat.hpp:299
int psi_1_int_e(int const n, result &result)
C++ version of gsl_sf_psi_1_int_e().
Definition: sf_psi.hpp:130
double psi(double const x)
C++ version of gsl_sf_psi().
Definition: sf_psi.hpp:82
double psi_n(int const n, double const x)
C++ version of gsl_sf_psi_n().
Definition: sf_psi.hpp:197
int psi_n_e(int const n, double const x, result &result)
C++ version of gsl_sf_psi_n_e().
Definition: sf_psi.hpp:183
double psi_1_int(int const n)
C++ version of gsl_sf_psi_1_int().
Definition: sf_psi.hpp:141
int complex_psi_e(double const x, double const y, result &result_re, result &result_im)
C++ version of gsl_sf_complex_psi_e().
Definition: sf_psi.hpp:117
double psi_1piy(double const y)
C++ version of gsl_sf_psi_1piy().
Definition: sf_psi.hpp:105
double psi_1(double const x)
C++ version of gsl_sf_psi_1().
Definition: sf_psi.hpp:168
int psi_1piy_e(double const y, result &result)
C++ version of gsl_sf_psi_1piy_e().
Definition: sf_psi.hpp:94
int psi_int_e(int const n, result &result)
C++ version of gsl_sf_psi_int_e().
Definition: sf_psi.hpp:42
int psi_e(double const x, result &result)
C++ version of gsl_sf_psi_e().
Definition: sf_psi.hpp:69
double psi_int(int const n)
C++ version of gsl_sf_psi_int().
Definition: sf_psi.hpp:55
gsl_sf_result result
Typedef for gsl_sf_result.
Definition: sf_result.hpp:30
int psi_1_e(double const x, result &result)
C++ version of gsl_sf_psi_1_e().
Definition: sf_psi.hpp:155
The gsl package creates an interface to the GNU Scientific Library for C++.
Definition: blas.hpp:34