20#ifndef CCGSL_SF_HERMITE_HPP
21#define CCGSL_SF_HERMITE_HPP
23#include<gsl/gsl_sf_hermite.h>
41 inline int prob_e(
int const n,
double const x, gsl_sf_result*
result ){
42 return gsl_sf_hermite_prob_e(
n, x,
result ); }
51 inline int prob_e( int const n, double const x, gsl_sf_result& result ){
52 return gsl_sf_hermite_prob_e(
n, x, &
result ); }
59 inline double prob(
int const n,
double const x ){
return gsl_sf_hermite_prob(
n, x ); }
68 inline double prob_deriv(
int const m,
int const n,
double const x ){
69 return gsl_sf_hermite_prob_deriv( m,
n, x ); }
78 inline int phys_e(
int const n,
double const x, gsl_sf_result*
result ){
79 return gsl_sf_hermite_e(
n, x,
result ); }
88 inline int phys_e( int const n, double const x, gsl_sf_result& result ){
89 return gsl_sf_hermite_e(
n, x, &
result ); }
96 inline double phys(
int const n,
double const x ){
return gsl_sf_hermite(
n, x ); }
106 inline int deriv_e(
int const m,
int const n,
double const x, gsl_sf_result*
result ){
107 return gsl_sf_hermite_deriv_e( m,
n, x,
result ); }
117 inline int deriv_e( int const m, int const n, double const x, gsl_sf_result& result ){
118 return gsl_sf_hermite_deriv_e( m,
n, x, &
result ); }
126 inline double deriv(
int const m,
int const n,
double const x ){
127 return gsl_sf_hermite_deriv( m,
n, x ); }
136 inline int func_e(
int const n,
double const x, gsl_sf_result*
result ){
137 return gsl_sf_hermite_func_e(
n, x,
result ); }
146 inline int func_e( int const n, double const x, gsl_sf_result& result ){
147 return gsl_sf_hermite_func_e(
n, x, &
result ); }
154 inline double func(
int const n,
double const x ){
return gsl_sf_hermite_func(
n, x ); }
164 return gsl_sf_hermite_func_fast_e(
n, x,
result ); }
173 inline int func_fast_e( int const n, double const x, gsl_sf_result& result ){
174 return gsl_sf_hermite_func_fast_e(
n, x, &
result ); }
182 return gsl_sf_hermite_func_fast(
n, x ); }
191 inline int prob_array(
int const nmax,
double const x,
double* result_array ){
192 return gsl_sf_hermite_prob_array( nmax, x, result_array ); }
201 template<typename DATA>
202 inline int prob_array(
int const nmax,
double const x, DATA& result_array ){
203 if(result_array.size() <
static_cast<size_t>(nmax + 1)){
return GSL_EBADLEN;}
204 return gsl_sf_hermite_prob_array( nmax, x, result_array.data() ); }
215 double* result_array ){
216 return gsl_sf_hermite_prob_array_deriv( m, nmax, x, result_array ); }
226 template<typename DATA>
228 DATA& result_array ){
229 if(result_array.size() <
static_cast<size_t>(nmax + 1)){
return GSL_EBADLEN;}
230 return gsl_sf_hermite_prob_array_deriv( m, nmax, x, result_array.data() ); }
241 double* result_array ){
242 return gsl_sf_hermite_prob_deriv_array( mmax,
n, x, result_array ); }
252 template<typename DATA>
254 DATA& result_array ){
255 if(result_array.size() <
static_cast<size_t>(mmax + 1)){
return GSL_EBADLEN;}
256 return gsl_sf_hermite_prob_deriv_array( mmax,
n, x, result_array.data() ); }
266 inline int prob_series_e(
int const n,
double const x,
double const*
a,
268 return gsl_sf_hermite_prob_series_e(
n, x,
a,
result ); }
278 template<typename DATA>
281 if(
a.size() <
static_cast<size_t>(
n + 1)){
return GSL_EBADLEN;}
282 return gsl_sf_hermite_prob_series_e(
n, x,
a.data(), &
result ); }
291 inline double prob_series(
int const n,
double const x,
double const*
a ){
292 return gsl_sf_hermite_prob_series(
n, x,
a ); }
301 template<typename DATA>
303 if(
a.size() <
static_cast<size_t>(
n + 1)){
return GSL_EBADLEN;}
304 return gsl_sf_hermite_prob_series(
n, x,
a.data() ); }
313 inline int array(
int const nmax,
double const x,
double* result_array ){
314 return gsl_sf_hermite_array( nmax, x, result_array ); }
323 template<typename DATA>
324 inline int array(
int const nmax,
double const x, DATA& result_array ){
325 if(result_array.size() <
static_cast<size_t>(nmax + 1)){
return GSL_EBADLEN;}
326 return gsl_sf_hermite_array( nmax, x, result_array.data() ); }
336 inline int array_deriv(
int const m,
int const nmax,
double const x,
337 double* result_array ){
338 return gsl_sf_hermite_array_deriv( m, nmax, x, result_array ); }
348 template<typename DATA>
349 inline int array_deriv(
int const m,
int const nmax,
double const x,
350 DATA& result_array ){
351 if(result_array.size() <
static_cast<size_t>(nmax + 1)){
return GSL_EBADLEN;}
352 return gsl_sf_hermite_array_deriv( m, nmax, x, result_array.data() ); }
362 inline int deriv_array(
int const mmax,
int const n,
double const x,
363 double* result_array ){
364 return gsl_sf_hermite_deriv_array( mmax,
n, x, result_array ); }
374 template<typename DATA>
376 DATA& result_array ){
377 if(result_array.size() <
static_cast<size_t>(mmax + 1)){
return GSL_EBADLEN;}
378 return gsl_sf_hermite_deriv_array( mmax,
n, x, result_array.data() ); }
388 inline int series_e(
int const n,
double const x,
double const*
a, gsl_sf_result*
result ){
389 return gsl_sf_hermite_series_e(
n, x,
a,
result ); }
399 template<typename DATA>
401 if(
a.size() <
static_cast<size_t>(
n + 1)){
return GSL_EBADLEN;}
402 return gsl_sf_hermite_series_e(
n, x,
a.data(), &
result ); }
411 inline double series(
int const n,
double const x,
double const*
a ){
412 return gsl_sf_hermite_series(
n, x,
a ); }
421 template<typename DATA>
422 inline double series(
int const n,
double const x, DATA
const&
a ){
423 if(
a.size() <
static_cast<size_t>(
n + 1)){
return GSL_EBADLEN;}
424 return gsl_sf_hermite_series(
n, x,
a.data() ); }
433 inline int func_array(
int const nmax,
double const x,
double* result_array ){
434 return gsl_sf_hermite_func_array( nmax, x, result_array ); }
443 template<typename DATA>
444 inline int func_array(
int const nmax,
double const x, DATA& result_array ){
445 if(result_array.size() < nmax + 1){
return GSL_EBADLEN;}
446 return gsl_sf_hermite_func_array( nmax, x, result_array.data() ); }
456 inline int func_series_e(
int const n,
double const x,
double const*
a,
458 return gsl_sf_hermite_func_series_e(
n, x,
a,
result ); }
468 template<typename DATA>
471 if(
a.size() <
n + 1){
return GSL_EBADLEN;}
472 return gsl_sf_hermite_func_series_e(
n, x,
a.data(), &
result ); }
481 inline double func_series(
int const n,
double const x,
double const*
a ){
482 return gsl_sf_hermite_func_series(
n, x,
a ); }
491 template<typename DATA>
493 if(
a.size() <
n + 1){
return GSL_EBADLEN;}
494 return gsl_sf_hermite_func_series(
n, x,
a.data() ); }
504 inline int func_der_e(
int const m,
int const n,
double const x, gsl_sf_result*
result ){
505 return gsl_sf_hermite_func_der_e( m,
n, x,
result ); }
515 inline int func_der_e( int const m, int const n, double const x, gsl_sf_result& result ){
516 return gsl_sf_hermite_func_der_e( m,
n, x, &
result ); }
524 inline double func_der(
int const m,
int const n,
double const x ){
525 return gsl_sf_hermite_func_der( m,
n, x ); }
535 return gsl_sf_hermite_prob_zero_e(
n, s,
result ); }
544 inline int prob_zero_e( int const n, int const s, gsl_sf_result& result ){
545 return gsl_sf_hermite_prob_zero_e(
n, s, &
result ); }
553 return gsl_sf_hermite_prob_zero(
n, s ); }
562 inline int zero_e(
int const n,
int const s, gsl_sf_result*
result ){
563 return gsl_sf_hermite_zero_e(
n, s,
result ); }
572 inline int zero_e( int const n, int const s, gsl_sf_result& result ){
573 return gsl_sf_hermite_zero_e(
n, s, &
result ); }
580 inline double zero(
int const n,
int const s ){
return gsl_sf_hermite_zero(
n, s ); }
590 return gsl_sf_hermite_func_zero_e(
n, s,
result ); }
599 inline int func_zero_e( int const n, int const s, gsl_sf_result& result ){
600 return gsl_sf_hermite_func_zero_e(
n, s, &
result ); }
608 return gsl_sf_hermite_func_zero(
n, s ); }
size_t n(workspace const &w)
C++ version of gsl_rstat_n().
double prob_deriv(int const m, int const n, double const x)
C++ version of gsl_sf_hermite_prob_deriv().
int func_e(int const n, double const x, gsl_sf_result &result)
C++ version of gsl_sf_hermite_func_e().
int func_der_e(int const m, int const n, double const x, gsl_sf_result &result)
C++ version of gsl_sf_hermite_func_der_e().
double prob_series(int const n, double const x, DATA const &a)
C++ version of gsl_sf_hermite_prob_series().
double func_zero(int const n, int const s)
C++ version of gsl_sf_hermite_func_zero().
int prob_series_e(int const n, double const x, DATA const &a, gsl_sf_result &result)
C++ version of gsl_sf_hermite_prob_series_e().
double zero(int const n, int const s)
C++ version of gsl_sf_hermite_zero().
int deriv_e(int const m, int const n, double const x, gsl_sf_result &result)
C++ version of gsl_sf_hermite_deriv_e().
double func_der(int const m, int const n, double const x)
C++ version of gsl_sf_hermite_func_der().
int array(int const nmax, double const x, DATA &result_array)
C++ version of gsl_sf_hermite_array().
int prob_array_deriv(int const m, int const nmax, double const x, DATA &result_array)
C++ version of gsl_sf_hermite_prob_array_deriv().
int prob_deriv_array(int const mmax, int const n, double const x, DATA &result_array)
C++ version of gsl_sf_hermite_prob_deriv_array().
int func_fast_e(int const n, double const x, gsl_sf_result &result)
C++ version of gsl_sf_hermite_func_fast_e().
double deriv(int const m, int const n, double const x)
C++ version of gsl_sf_hermite_deriv().
double func(int const n, double const x)
C++ version of gsl_sf_hermite_func().
int array_deriv(int const m, int const nmax, double const x, DATA &result_array)
C++ version of gsl_sf_hermite_array_deriv().
int func_zero_e(int const n, int const s, gsl_sf_result &result)
C++ version of gsl_sf_hermite_func_zero_e().
int func_series_e(int const n, double const x, DATA const &a, gsl_sf_result &result)
C++ version of gsl_sf_hermite_func_series_e().
int prob_zero_e(int const n, int const s, gsl_sf_result &result)
C++ version of gsl_sf_hermite_prob_zero_e().
int func_array(int const nmax, double const x, DATA &result_array)
C++ version of gsl_sf_hermite_func_array().
double prob_zero(int const n, int const s)
C++ version of gsl_sf_hermite_prob_zero().
double func_fast(int const n, double const x)
C++ version of gsl_sf_hermite_func_fast().
int prob_e(int const n, double const x, gsl_sf_result &result)
C++ version of gsl_sf_hermite_prob_e().
int zero_e(int const n, int const s, gsl_sf_result &result)
C++ version of gsl_sf_hermite_zero_e().
double series(int const n, double const x, DATA const &a)
C++ version of gsl_sf_hermite_series().
int series_e(int const n, double const x, DATA const &a, gsl_sf_result &result)
C++ version of gsl_sf_hermite_series_e().
int deriv_array(int const mmax, int const n, double const x, DATA &result_array)
C++ version of gsl_sf_hermite_deriv_array().
int phys_e(int const n, double const x, gsl_sf_result &result)
C++ version of gsl_sf_hermite_e().
double prob(int const n, double const x)
C++ version of gsl_sf_hermite_prob().
int prob_array(int const nmax, double const x, DATA &result_array)
C++ version of gsl_sf_hermite_prob_array().
double phys(int const n, double const x)
C++ version of gsl_sf_hermite().
double func_series(int const n, double const x, DATA const &a)
C++ version of gsl_sf_hermite_func_series().
double a(int order, double qq)
C++ version of gsl_sf_mathieu_a().
gsl_sf_result result
Typedef for gsl_sf_result.
The gsl package creates an interface to the GNU Scientific Library for C++.