ccgsl 2.7.2
C++wrappersforGnuScientificLibrary
const_num.hpp
Go to the documentation of this file.
1/*
2 * $Id: const_num.hpp 225 2012-08-08 18:15:27Z 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_CONST_NUM_HPP
21#define CCGSL_CONST_NUM_HPP
22
23#include<gsl/gsl_const_num.h>
24
25namespace gsl {
31 namespace const_num {
35 inline double const fine_structure(){ return GSL_CONST_NUM_FINE_STRUCTURE; }
39 inline double const Avogadro(){ return GSL_CONST_NUM_AVOGADRO; }
43 inline double const yotta(){ return GSL_CONST_NUM_YOTTA; }
47 inline double const zetta(){ return GSL_CONST_NUM_ZETTA; }
51 inline double const exa(){ return GSL_CONST_NUM_EXA; }
55 inline double const peta(){ return GSL_CONST_NUM_PETA; }
59 inline double const tera(){ return GSL_CONST_NUM_TERA; }
63 inline double const giga(){ return GSL_CONST_NUM_GIGA; }
67 inline double const mega(){ return GSL_CONST_NUM_MEGA; }
71 inline double const kilo(){ return GSL_CONST_NUM_KILO; }
75 inline double const milli(){ return GSL_CONST_NUM_MILLI; }
79 inline double const micro(){ return GSL_CONST_NUM_MICRO; }
83 inline double const nano(){ return GSL_CONST_NUM_NANO; }
87 inline double const pico(){ return GSL_CONST_NUM_PICO; }
91 inline double const femto(){ return GSL_CONST_NUM_FEMTO; }
95 inline double const atto(){ return GSL_CONST_NUM_ATTO; }
99 inline double const zepto(){ return GSL_CONST_NUM_ZEPTO; }
103 inline double const yocto(){ return GSL_CONST_NUM_YOCTO; }
104 }
105}
106#endif
double const yotta()
Definition: const_num.hpp:43
double const yocto()
Definition: const_num.hpp:103
double const milli()
Definition: const_num.hpp:75
double const zetta()
Definition: const_num.hpp:47
double const nano()
Definition: const_num.hpp:83
double const giga()
Definition: const_num.hpp:63
double const zepto()
Definition: const_num.hpp:99
double const Avogadro()
Definition: const_num.hpp:39
double const kilo()
Definition: const_num.hpp:71
double const tera()
Definition: const_num.hpp:59
double const fine_structure()
Definition: const_num.hpp:35
double const exa()
Definition: const_num.hpp:51
double const pico()
Definition: const_num.hpp:87
double const peta()
Definition: const_num.hpp:55
double const atto()
Definition: const_num.hpp:95
double const mega()
Definition: const_num.hpp:67
double const micro()
Definition: const_num.hpp:79
double const femto()
Definition: const_num.hpp:91
The gsl package creates an interface to the GNU Scientific Library for C++.
Definition: blas.hpp:34