ccgsl 2.7.2
C++wrappersforGnuScientificLibrary
pow_int.hpp
Go to the documentation of this file.
1/*
2 * $Id: pow_int.hpp 68 2012-01-08 17:35:44Z jdl3 $
3 * Copyright (C) 2012 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_POW_INT_HPP
21#define CCGSL_POW_INT_HPP
22
23#include<gsl/gsl_pow_int.h>
24
25namespace gsl {
31 inline double pow_2( double const x ){ return gsl_pow_2( x ); }
32
38 inline double pow_3( double const x ){ return gsl_pow_3( x ); }
39
45 inline double pow_4( double const x ){ return gsl_pow_4( x ); }
46
52 inline double pow_5( double const x ){ return gsl_pow_5( x ); }
53
59 inline double pow_6( double const x ){ return gsl_pow_6( x ); }
60
66 inline double pow_7( double const x ){ return gsl_pow_7( x ); }
67
73 inline double pow_8( double const x ){ return gsl_pow_8( x ); }
74
80 inline double pow_9( double const x ){ return gsl_pow_9( x ); }
81
88 inline double pow_int( double x, int n ){ return gsl_pow_int( x, n ); }
89
96 inline double pow_uint( double x, unsigned int n ){ return gsl_pow_uint( x, n ); }
97}
98#endif
size_t n(workspace const &w)
C++ version of gsl_rstat_n().
Definition: rstat.hpp:299
The gsl package creates an interface to the GNU Scientific Library for C++.
Definition: blas.hpp:34
double pow_uint(double x, unsigned int n)
C++ version of gsl_pow_uint().
Definition: pow_int.hpp:96
double pow_5(double const x)
C++ version of gsl_pow_5().
Definition: pow_int.hpp:52
double pow_3(double const x)
C++ version of gsl_pow_3().
Definition: pow_int.hpp:38
double pow_6(double const x)
C++ version of gsl_pow_6().
Definition: pow_int.hpp:59
double pow_int(double x, int n)
C++ version of gsl_pow_int().
Definition: pow_int.hpp:88
double pow_7(double const x)
C++ version of gsl_pow_7().
Definition: pow_int.hpp:66
double pow_8(double const x)
C++ version of gsl_pow_8().
Definition: pow_int.hpp:73
double pow_4(double const x)
C++ version of gsl_pow_4().
Definition: pow_int.hpp:45
double pow_2(double const x)
C++ version of gsl_pow_2().
Definition: pow_int.hpp:31
double pow_9(double const x)
C++ version of gsl_pow_9().
Definition: pow_int.hpp:80