ccgsl 2.7.2
C++wrappersforGnuScientificLibrary
sf_erf.hpp
Go to the documentation of this file.
1/*
2 * $Id: sf_erf.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_ERF_HPP
21#define CCGSL_SF_ERF_HPP
22
23#include<gsl/gsl_sf_erf.h>
24#include"mode.hpp"
25#include"sf_result.hpp"
26
27namespace gsl {
28 namespace sf {
37 inline int erfc_e( double x, result& result ){ return gsl_sf_erfc_e( x, &result ); }
45 inline double erfc( double x ){ return gsl_sf_erfc( x ); }
53 inline int log_erfc_e( double x, result& result ){ return gsl_sf_log_erfc_e( x, &result ); }
60 inline double log_erfc( double x ){ return gsl_sf_log_erfc( x ); }
69 inline int erf_e( double x, result& result ){ return gsl_sf_erf_e( x, &result ); }
77 inline double erf( double x ){ return gsl_sf_erf( x ); }
86 inline int erf_Z_e( double x, result& result ){ return gsl_sf_erf_Z_e( x, &result ); }
95 inline int erf_Q_e( double x, result& result ){ return gsl_sf_erf_Q_e( x, &result ); }
103 inline double erf_Z( double x ){ return gsl_sf_erf_Z( x ); }
111 inline double erf_Q( double x ){ return gsl_sf_erf_Q( x ); }
123 inline int hazard_e( double x, result& result ){ return gsl_sf_hazard_e( x, &result ); }
134 inline double hazard( double x ){ return gsl_sf_hazard( x ); }
135 }
136}
137
138#endif
double log_erfc(double x)
C++ version of gsl_sf_log_erfc().
Definition: sf_erf.hpp:60
double erf_Z(double x)
C++ version of gsl_sf_erf_Z().
Definition: sf_erf.hpp:103
int hazard_e(double x, result &result)
C++ version of gsl_sf_hazard_e().
Definition: sf_erf.hpp:123
double erf(double x)
C++ version of gsl_sf_erf().
Definition: sf_erf.hpp:77
int log_erfc_e(double x, result &result)
C++ version of gsl_sf_log_erfc_e().
Definition: sf_erf.hpp:53
int erfc_e(double x, result &result)
C++ version of gsl_sf_erfc_e().
Definition: sf_erf.hpp:37
double erf_Q(double x)
C++ version of gsl_sf_erf_Q().
Definition: sf_erf.hpp:111
int erf_Q_e(double x, result &result)
C++ version of gsl_sf_erf_Q_e().
Definition: sf_erf.hpp:95
double hazard(double x)
C++ version of gsl_sf_hazard().
Definition: sf_erf.hpp:134
int erf_e(double x, result &result)
C++ version of gsl_sf_erf_e().
Definition: sf_erf.hpp:69
double erfc(double x)
C++ version of gsl_sf_erfc().
Definition: sf_erf.hpp:45
int erf_Z_e(double x, result &result)
C++ version of gsl_sf_erf_Z_e().
Definition: sf_erf.hpp:86
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