numo-gsl 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (266) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +4 -0
  3. data/README.md +84 -0
  4. data/Rakefile +16 -0
  5. data/ext/numo/gsl/cdf/depend +17 -0
  6. data/ext/numo/gsl/cdf/erbpp_cdf.rb +44 -0
  7. data/ext/numo/gsl/cdf/extconf.rb +9 -0
  8. data/ext/numo/gsl/cdf/func_def.rb +610 -0
  9. data/ext/numo/gsl/const/const_def.rb +419 -0
  10. data/ext/numo/gsl/const/depend +17 -0
  11. data/ext/numo/gsl/const/erbpp_const.rb +30 -0
  12. data/ext/numo/gsl/const/extconf.rb +9 -0
  13. data/ext/numo/gsl/err/depend +1 -0
  14. data/ext/numo/gsl/err/err.c +22 -0
  15. data/ext/numo/gsl/err/extconf.rb +9 -0
  16. data/ext/numo/gsl/extconf_gsl.rb +44 -0
  17. data/ext/numo/gsl/fit/depend +17 -0
  18. data/ext/numo/gsl/fit/erbpp_fit.rb +74 -0
  19. data/ext/numo/gsl/fit/extconf.rb +9 -0
  20. data/ext/numo/gsl/fit/func_def.rb +129 -0
  21. data/ext/numo/gsl/fit/tmpl/check_1d.c +9 -0
  22. data/ext/numo/gsl/fit/tmpl/fit_linear.c +53 -0
  23. data/ext/numo/gsl/fit/tmpl/fit_linear_est.c +56 -0
  24. data/ext/numo/gsl/fit/tmpl/fit_mul.c +50 -0
  25. data/ext/numo/gsl/fit/tmpl/fit_mul_est.c +47 -0
  26. data/ext/numo/gsl/fit/tmpl/fit_wlinear.c +59 -0
  27. data/ext/numo/gsl/fit/tmpl/fit_wmul.c +56 -0
  28. data/ext/numo/gsl/gen/erbpp2.rb +306 -0
  29. data/ext/numo/gsl/gen/erbpp_gsl.rb +166 -0
  30. data/ext/numo/gsl/gen/func_parser.rb +520 -0
  31. data/ext/numo/gsl/gen/tmpl/c_DFloat_f_DFloat.c +40 -0
  32. data/ext/numo/gsl/gen/tmpl/c_DFloat_f_SZ.c +41 -0
  33. data/ext/numo/gsl/gen/tmpl/c_DFloat_f_SZ_x2.c +44 -0
  34. data/ext/numo/gsl/gen/tmpl/c_DFloat_x2_f_DFloat_x2.c +45 -0
  35. data/ext/numo/gsl/gen/tmpl/c_double_f_double.c +16 -0
  36. data/ext/numo/gsl/gen/tmpl/c_double_f_sizet.c +16 -0
  37. data/ext/numo/gsl/gen/tmpl/c_double_f_sizet_x2.c +17 -0
  38. data/ext/numo/gsl/gen/tmpl/c_double_f_void.c +15 -0
  39. data/ext/numo/gsl/gen/tmpl/c_double_x2_f_void.c +17 -0
  40. data/ext/numo/gsl/gen/tmpl/c_new_DFloat.c +29 -0
  41. data/ext/numo/gsl/gen/tmpl/c_new_double.c +22 -0
  42. data/ext/numo/gsl/gen/tmpl/c_new_f_other.c +25 -0
  43. data/ext/numo/gsl/gen/tmpl/c_new_sizet.c +22 -0
  44. data/ext/numo/gsl/gen/tmpl/c_new_sizet_double.c +23 -0
  45. data/ext/numo/gsl/gen/tmpl/c_new_sizet_x2.c +23 -0
  46. data/ext/numo/gsl/gen/tmpl/c_new_void.c +21 -0
  47. data/ext/numo/gsl/gen/tmpl/c_other_f_void.c +19 -0
  48. data/ext/numo/gsl/gen/tmpl/c_self_f_DFloat.c +46 -0
  49. data/ext/numo/gsl/gen/tmpl/c_self_f_DFloat_x2.c +41 -0
  50. data/ext/numo/gsl/gen/tmpl/c_self_f_DFloat_x3.c +44 -0
  51. data/ext/numo/gsl/gen/tmpl/c_self_f_DFloat_x4.c +47 -0
  52. data/ext/numo/gsl/gen/tmpl/c_self_f_SZ_x2_DFloat.c +45 -0
  53. data/ext/numo/gsl/gen/tmpl/c_self_f_double.c +17 -0
  54. data/ext/numo/gsl/gen/tmpl/c_self_f_other.c +17 -0
  55. data/ext/numo/gsl/gen/tmpl/c_self_f_sizet.c +21 -0
  56. data/ext/numo/gsl/gen/tmpl/c_self_f_void.c +14 -0
  57. data/ext/numo/gsl/gen/tmpl/c_sizet_f_void.c +15 -0
  58. data/ext/numo/gsl/gen/tmpl/c_sizet_x2_f_void.c +17 -0
  59. data/ext/numo/gsl/gen/tmpl/c_str_f_void.c +15 -0
  60. data/ext/numo/gsl/gen/tmpl/c_super_new_void.c +18 -0
  61. data/ext/numo/gsl/gen/tmpl/c_uint_f_void.c +15 -0
  62. data/ext/numo/gsl/gen/tmpl/c_ulong_f_void.c +15 -0
  63. data/ext/numo/gsl/gen/tmpl/c_void_f_double.c +17 -0
  64. data/ext/numo/gsl/gen/tmpl/c_void_f_double_x2.c +18 -0
  65. data/ext/numo/gsl/gen/tmpl/c_void_f_double_x4.c +20 -0
  66. data/ext/numo/gsl/gen/tmpl/c_void_f_ulong.c +17 -0
  67. data/ext/numo/gsl/gen/tmpl/c_void_f_void.c +14 -0
  68. data/ext/numo/gsl/gen/tmpl/cast_1d_contiguous.c +15 -0
  69. data/ext/numo/gsl/gen/tmpl/cast_2d_contiguous.c +15 -0
  70. data/ext/numo/gsl/gen/tmpl/class.c +26 -0
  71. data/ext/numo/gsl/gen/tmpl/create_new_narray.c +26 -0
  72. data/ext/numo/gsl/gen/tmpl/init_class.c +10 -0
  73. data/ext/numo/gsl/gen/tmpl/init_module.c +12 -0
  74. data/ext/numo/gsl/gen/tmpl/lib.c +41 -0
  75. data/ext/numo/gsl/gen/tmpl/m_DFloat_Int_f_DFloat.c +38 -0
  76. data/ext/numo/gsl/gen/tmpl/m_DFloat_f_DFloat.c +35 -0
  77. data/ext/numo/gsl/gen/tmpl/m_DFloat_f_DFloat_Int.c +39 -0
  78. data/ext/numo/gsl/gen/tmpl/m_DFloat_f_DFloat_UInt.c +39 -0
  79. data/ext/numo/gsl/gen/tmpl/m_DFloat_f_DFloat_double.c +42 -0
  80. data/ext/numo/gsl/gen/tmpl/m_DFloat_f_DFloat_double_x2.c +47 -0
  81. data/ext/numo/gsl/gen/tmpl/m_DFloat_f_DFloat_int.c +42 -0
  82. data/ext/numo/gsl/gen/tmpl/m_DFloat_f_DFloat_x2.c +38 -0
  83. data/ext/numo/gsl/gen/tmpl/m_DFloat_f_DFloat_x3.c +41 -0
  84. data/ext/numo/gsl/gen/tmpl/m_DFloat_f_Int.c +36 -0
  85. data/ext/numo/gsl/gen/tmpl/m_DFloat_f_UInt.c +36 -0
  86. data/ext/numo/gsl/gen/tmpl/m_DFloat_f_UInt32.c +36 -0
  87. data/ext/numo/gsl/gen/tmpl/m_DFloat_f_UInt32_double.c +43 -0
  88. data/ext/numo/gsl/gen/tmpl/m_DFloat_f_UInt32_double_uint.c +49 -0
  89. data/ext/numo/gsl/gen/tmpl/m_DFloat_f_UInt32_double_x2.c +48 -0
  90. data/ext/numo/gsl/gen/tmpl/m_DFloat_f_UInt32_uint_x3.c +51 -0
  91. data/ext/numo/gsl/gen/tmpl/m_DFloat_f_UInt_double.c +43 -0
  92. data/ext/numo/gsl/gen/tmpl/m_DFloat_f_UInt_double_uint.c +50 -0
  93. data/ext/numo/gsl/gen/tmpl/m_DFloat_f_UInt_double_x2.c +48 -0
  94. data/ext/numo/gsl/gen/tmpl/m_DFloat_f_UInt_uint_x3.c +51 -0
  95. data/ext/numo/gsl/gen/tmpl/m_DFloat_f_int_DFloat.c +41 -0
  96. data/ext/numo/gsl/gen/tmpl/m_DFloat_f_int_DFloat_x2.c +44 -0
  97. data/ext/numo/gsl/gen/tmpl/m_DFloat_f_int_x2_DFloat_x2.c +46 -0
  98. data/ext/numo/gsl/gen/tmpl/m_Int_f_DFloat.c +36 -0
  99. data/ext/numo/gsl/gen/tmpl/m_Int_f_DFloat_x3.c +42 -0
  100. data/ext/numo/gsl/gen/tmpl/m_Int_f_int_DFloat.c +42 -0
  101. data/ext/numo/gsl/gen/tmpl/m_Int_f_int_DFloat_x2.c +45 -0
  102. data/ext/numo/gsl/gen/tmpl/mod_func_noloop.c +54 -0
  103. data/ext/numo/gsl/gen/tmpl/mod_func_scalar.c +27 -0
  104. data/ext/numo/gsl/gen/tmpl/module.c +9 -0
  105. data/ext/numo/gsl/histogram/depend +17 -0
  106. data/ext/numo/gsl/histogram/erbpp_histogram.rb +109 -0
  107. data/ext/numo/gsl/histogram/extconf.rb +9 -0
  108. data/ext/numo/gsl/histogram/func_def.rb +763 -0
  109. data/ext/numo/gsl/histogram/tmpl/c_DFloat_f_2d_get.c +54 -0
  110. data/ext/numo/gsl/histogram/tmpl/c_DFloat_f_field.c +35 -0
  111. data/ext/numo/gsl/histogram/tmpl/c_DFloat_f_get.c +47 -0
  112. data/ext/numo/gsl/histogram/tmpl/c_DFloat_x2_f_get_range.c +56 -0
  113. data/ext/numo/gsl/histogram/tmpl/c_bool_f_other.c +19 -0
  114. data/ext/numo/gsl/histogram/tmpl/c_bool_f_pdf_init.c +24 -0
  115. data/ext/numo/gsl/histogram/tmpl/c_self_f_2d_set_ranges.c +26 -0
  116. data/ext/numo/gsl/histogram/tmpl/c_self_f_set_ranges.c +21 -0
  117. data/ext/numo/gsl/histogram/tmpl/c_sizet_f_field.c +15 -0
  118. data/ext/numo/gsl/interp/depend +17 -0
  119. data/ext/numo/gsl/interp/erbpp_interp.rb +59 -0
  120. data/ext/numo/gsl/interp/extconf.rb +9 -0
  121. data/ext/numo/gsl/interp/func_def.rb +816 -0
  122. data/ext/numo/gsl/interp/parse_interp.rb +67 -0
  123. data/ext/numo/gsl/interp/tmpl/interp2d_new.c +36 -0
  124. data/ext/numo/gsl/interp/tmpl/interp2d_type_new.c +17 -0
  125. data/ext/numo/gsl/interp/tmpl/interp_bsearch.c +57 -0
  126. data/ext/numo/gsl/interp/tmpl/interp_new.c +29 -0
  127. data/ext/numo/gsl/interp/tmpl/interp_type_new.c +16 -0
  128. data/ext/numo/gsl/interp/tmpl/spline2d_eval.c +61 -0
  129. data/ext/numo/gsl/interp/tmpl/spline_eval.c +55 -0
  130. data/ext/numo/gsl/interp/tmpl/spline_integ.c +56 -0
  131. data/ext/numo/gsl/interp/type_def.rb +9 -0
  132. data/ext/numo/gsl/multifit/depend +17 -0
  133. data/ext/numo/gsl/multifit/erbpp_multifit.rb +99 -0
  134. data/ext/numo/gsl/multifit/extconf.rb +9 -0
  135. data/ext/numo/gsl/multifit/func_2.1.rb +1035 -0
  136. data/ext/numo/gsl/multifit/func_2.2.1.rb +736 -0
  137. data/ext/numo/gsl/multifit/func_2.2.rb +736 -0
  138. data/ext/numo/gsl/multifit/func_2.3.rb +872 -0
  139. data/ext/numo/gsl/multifit/func_def.rb +1012 -0
  140. data/ext/numo/gsl/multifit/tmpl/multifit_linear.c +66 -0
  141. data/ext/numo/gsl/multifit/tmpl/multifit_linear_est.c +48 -0
  142. data/ext/numo/gsl/multifit/tmpl/multifit_linear_residuals.c +47 -0
  143. data/ext/numo/gsl/multifit/tmpl/multifit_wlinear.c +70 -0
  144. data/ext/numo/gsl/multifit/type_def.rb +1 -0
  145. data/ext/numo/gsl/numo_gsl.h +117 -0
  146. data/ext/numo/gsl/pdf/depend +17 -0
  147. data/ext/numo/gsl/pdf/erbpp_pdf.rb +26 -0
  148. data/ext/numo/gsl/pdf/extconf.rb +9 -0
  149. data/ext/numo/gsl/pdf/func_2.2.1.rb +306 -0
  150. data/ext/numo/gsl/pdf/func_2.2.rb +306 -0
  151. data/ext/numo/gsl/pdf/func_2.3.rb +306 -0
  152. data/ext/numo/gsl/pdf/func_def.rb +282 -0
  153. data/ext/numo/gsl/pdf/parse_pdf.rb +42 -0
  154. data/ext/numo/gsl/pdf/tmpl/dirichlet.c +39 -0
  155. data/ext/numo/gsl/pdf/tmpl/multinomial.c +39 -0
  156. data/ext/numo/gsl/poly/depend +17 -0
  157. data/ext/numo/gsl/poly/erbpp_poly.rb +70 -0
  158. data/ext/numo/gsl/poly/extconf.rb +9 -0
  159. data/ext/numo/gsl/poly/func_def.rb +234 -0
  160. data/ext/numo/gsl/poly/tmpl/poly_complex_solve.c +59 -0
  161. data/ext/numo/gsl/poly/tmpl/poly_eval.c +70 -0
  162. data/ext/numo/gsl/poly/tmpl/poly_eval_derivs.c +40 -0
  163. data/ext/numo/gsl/ran/depend +17 -0
  164. data/ext/numo/gsl/ran/erbpp_ran.rb +42 -0
  165. data/ext/numo/gsl/ran/extconf.rb +9 -0
  166. data/ext/numo/gsl/ran/func_2.2.1.rb +1658 -0
  167. data/ext/numo/gsl/ran/func_2.2.rb +1658 -0
  168. data/ext/numo/gsl/ran/func_2.3.rb +1658 -0
  169. data/ext/numo/gsl/ran/func_def.rb +1594 -0
  170. data/ext/numo/gsl/ran/parse_ran.rb +10 -0
  171. data/ext/numo/gsl/rng/depend +17 -0
  172. data/ext/numo/gsl/rng/erbpp_rng.rb +58 -0
  173. data/ext/numo/gsl/rng/extconf.rb +9 -0
  174. data/ext/numo/gsl/rng/func_def.rb +230 -0
  175. data/ext/numo/gsl/rng/parse_rng.rb +125 -0
  176. data/ext/numo/gsl/rng/tmpl/ran.c +40 -0
  177. data/ext/numo/gsl/rng/tmpl/ran_DFloat_f_DFloat.c +28 -0
  178. data/ext/numo/gsl/rng/tmpl/ran_DFloat_x2.c +45 -0
  179. data/ext/numo/gsl/rng/tmpl/ran_DFloat_x3.c +51 -0
  180. data/ext/numo/gsl/rng/tmpl/ran_multinomial.c +32 -0
  181. data/ext/numo/gsl/rng/tmpl/rng_DFloat.c +29 -0
  182. data/ext/numo/gsl/rng/tmpl/rng_UInt.c +44 -0
  183. data/ext/numo/gsl/rng/tmpl/rng_alloc.c +24 -0
  184. data/ext/numo/gsl/rng/tmpl/rng_type_new.c +14 -0
  185. data/ext/numo/gsl/rng/type_def.rb +63 -0
  186. data/ext/numo/gsl/rstat/depend +17 -0
  187. data/ext/numo/gsl/rstat/erbpp_rstat.rb +64 -0
  188. data/ext/numo/gsl/rstat/extconf.rb +9 -0
  189. data/ext/numo/gsl/rstat/func_2.2.1.rb +116 -0
  190. data/ext/numo/gsl/rstat/func_2.2.rb +116 -0
  191. data/ext/numo/gsl/rstat/func_2.3.rb +123 -0
  192. data/ext/numo/gsl/rstat/func_def.rb +102 -0
  193. data/ext/numo/gsl/sf/depend +17 -0
  194. data/ext/numo/gsl/sf/erbpp_sf.rb +51 -0
  195. data/ext/numo/gsl/sf/extconf.rb +9 -0
  196. data/ext/numo/gsl/sf/func_def.rb +4703 -0
  197. data/ext/numo/gsl/sf/parse_sf.rb +277 -0
  198. data/ext/numo/gsl/sf/tmpl/c_DFloat_f_int_x2_DFloat.c +50 -0
  199. data/ext/numo/gsl/sf/tmpl/c_DFloat_f_int_x2_DFloat_x2.c +52 -0
  200. data/ext/numo/gsl/sf/tmpl/c_DFloat_f_int_x3_DFloat_x2.c +55 -0
  201. data/ext/numo/gsl/sf/tmpl/m_DFloat_f_DFloat_mode.c +47 -0
  202. data/ext/numo/gsl/sf/tmpl/m_DFloat_f_lmax_array.c +41 -0
  203. data/ext/numo/gsl/sf/tmpl/m_DFloat_f_nmin_nmax_array.c +49 -0
  204. data/ext/numo/gsl/spmatrix/const_2.2.1.rb +3 -0
  205. data/ext/numo/gsl/spmatrix/const_2.2.rb +3 -0
  206. data/ext/numo/gsl/spmatrix/const_2.3.rb +3 -0
  207. data/ext/numo/gsl/spmatrix/const_def.rb +2 -0
  208. data/ext/numo/gsl/spmatrix/depend +17 -0
  209. data/ext/numo/gsl/spmatrix/erbpp_spmatrix.rb +100 -0
  210. data/ext/numo/gsl/spmatrix/extconf.rb +9 -0
  211. data/ext/numo/gsl/spmatrix/func_2.2.1.rb +297 -0
  212. data/ext/numo/gsl/spmatrix/func_2.2.rb +297 -0
  213. data/ext/numo/gsl/spmatrix/func_2.3.rb +297 -0
  214. data/ext/numo/gsl/spmatrix/func_def.rb +218 -0
  215. data/ext/numo/gsl/spmatrix/parse_spmatrix.rb +70 -0
  216. data/ext/numo/gsl/spmatrix/tmpl/itersolve_iterate.c +47 -0
  217. data/ext/numo/gsl/spmatrix/tmpl/itersolve_new.c +22 -0
  218. data/ext/numo/gsl/spmatrix/tmpl/itersolve_type_new.c +16 -0
  219. data/ext/numo/gsl/spmatrix/tmpl/spblas_dgemm.c +35 -0
  220. data/ext/numo/gsl/spmatrix/tmpl/spblas_dgemv.c +43 -0
  221. data/ext/numo/gsl/spmatrix/tmpl/spmatrix_add.c +22 -0
  222. data/ext/numo/gsl/spmatrix/tmpl/spmatrix_d2sp.c +28 -0
  223. data/ext/numo/gsl/spmatrix/tmpl/spmatrix_new.c +40 -0
  224. data/ext/numo/gsl/spmatrix/tmpl/spmatrix_sp2d.c +25 -0
  225. data/ext/numo/gsl/spmatrix/type_def.rb +1 -0
  226. data/ext/numo/gsl/stats/depend +17 -0
  227. data/ext/numo/gsl/stats/erbpp_stats.rb +29 -0
  228. data/ext/numo/gsl/stats/extconf.rb +9 -0
  229. data/ext/numo/gsl/stats/func_2.2.1.rb +608 -0
  230. data/ext/numo/gsl/stats/func_2.2.rb +608 -0
  231. data/ext/numo/gsl/stats/func_2.3.rb +608 -0
  232. data/ext/numo/gsl/stats/func_def.rb +608 -0
  233. data/ext/numo/gsl/stats/parse_stats.rb +63 -0
  234. data/ext/numo/gsl/stats/tmpl/stats_1a0p.c +37 -0
  235. data/ext/numo/gsl/stats/tmpl/stats_1a0p_index.c +60 -0
  236. data/ext/numo/gsl/stats/tmpl/stats_1a1p.c +41 -0
  237. data/ext/numo/gsl/stats/tmpl/stats_1a2p.c +42 -0
  238. data/ext/numo/gsl/stats/tmpl/stats_2a0p.c +39 -0
  239. data/ext/numo/gsl/stats/tmpl/stats_2a1p.c +43 -0
  240. data/ext/numo/gsl/stats/tmpl/stats_2a2p.c +44 -0
  241. data/ext/numo/gsl/stats/tmpl/stats_minmax.c +37 -0
  242. data/ext/numo/gsl/stats/tmpl/stats_minmax_index.c +67 -0
  243. data/ext/numo/gsl/stats/tmpl/stats_spearman.c +46 -0
  244. data/ext/numo/gsl/sys/const_def.rb +21 -0
  245. data/ext/numo/gsl/sys/depend +17 -0
  246. data/ext/numo/gsl/sys/enum_def.rb +75 -0
  247. data/ext/numo/gsl/sys/erbpp_sys.rb +60 -0
  248. data/ext/numo/gsl/sys/extconf.rb +9 -0
  249. data/ext/numo/gsl/sys/func_def.rb +249 -0
  250. data/ext/numo/gsl/version.h +1 -0
  251. data/ext/numo/gsl/wavelet/depend +17 -0
  252. data/ext/numo/gsl/wavelet/erbpp_wavelet.rb +48 -0
  253. data/ext/numo/gsl/wavelet/extconf.rb +9 -0
  254. data/ext/numo/gsl/wavelet/func_def.rb +337 -0
  255. data/ext/numo/gsl/wavelet/parse_wavelet.rb +47 -0
  256. data/ext/numo/gsl/wavelet/tmpl/wavelet2d_transform.c +56 -0
  257. data/ext/numo/gsl/wavelet/tmpl/wavelet_array_check.c +56 -0
  258. data/ext/numo/gsl/wavelet/tmpl/wavelet_macro.c +1 -0
  259. data/ext/numo/gsl/wavelet/tmpl/wavelet_new.c +20 -0
  260. data/ext/numo/gsl/wavelet/tmpl/wavelet_transform.c +55 -0
  261. data/ext/numo/gsl/wavelet/tmpl/wavelet_transform2.c +22 -0
  262. data/ext/numo/gsl/wavelet/tmpl/wavelet_type_new.c +15 -0
  263. data/ext/numo/gsl/wavelet/type_def.rb +6 -0
  264. data/lib/numo/gsl.rb +17 -0
  265. data/numo-gsl.gemspec +33 -0
  266. metadata +367 -0
@@ -0,0 +1,419 @@
1
+ [["GSL_CONST_CGSM_ACRE", nil],
2
+ ["GSL_CONST_CGSM_ANGSTROM", nil],
3
+ ["GSL_CONST_CGSM_ASTRONOMICAL_UNIT", nil],
4
+ ["GSL_CONST_CGSM_BAR", nil],
5
+ ["GSL_CONST_CGSM_BARN", nil],
6
+ ["GSL_CONST_CGSM_BOHR_MAGNETON", nil],
7
+ ["GSL_CONST_CGSM_BOHR_RADIUS", nil],
8
+ ["GSL_CONST_CGSM_BOLTZMANN", nil],
9
+ ["GSL_CONST_CGSM_BTU", nil],
10
+ ["GSL_CONST_CGSM_CALORIE", nil],
11
+ ["GSL_CONST_CGSM_CANADIAN_GALLON", nil],
12
+ ["GSL_CONST_CGSM_CARAT", nil],
13
+ ["GSL_CONST_CGSM_CUP", nil],
14
+ ["GSL_CONST_CGSM_CURIE", nil],
15
+ ["GSL_CONST_CGSM_DAY", nil],
16
+ ["GSL_CONST_CGSM_DYNE", nil],
17
+ ["GSL_CONST_CGSM_ELECTRON_CHARGE", nil],
18
+ ["GSL_CONST_CGSM_ELECTRON_MAGNETIC_MOMENT", nil],
19
+ ["GSL_CONST_CGSM_ELECTRON_VOLT", nil],
20
+ ["GSL_CONST_CGSM_ERG", nil],
21
+ ["GSL_CONST_CGSM_FARADAY", nil],
22
+ ["GSL_CONST_CGSM_FATHOM", nil],
23
+ ["GSL_CONST_CGSM_FLUID_OUNCE", nil],
24
+ ["GSL_CONST_CGSM_FOOT", nil],
25
+ ["GSL_CONST_CGSM_FOOTCANDLE", nil],
26
+ ["GSL_CONST_CGSM_FOOTLAMBERT", nil],
27
+ ["GSL_CONST_CGSM_GRAM_FORCE", nil],
28
+ ["GSL_CONST_CGSM_GRAVITATIONAL_CONSTANT", nil],
29
+ ["GSL_CONST_CGSM_GRAV_ACCEL", nil],
30
+ ["GSL_CONST_CGSM_HECTARE", nil],
31
+ ["GSL_CONST_CGSM_HORSEPOWER", nil],
32
+ ["GSL_CONST_CGSM_HOUR", nil],
33
+ ["GSL_CONST_CGSM_INCH", nil],
34
+ ["GSL_CONST_CGSM_INCH_OF_MERCURY", nil],
35
+ ["GSL_CONST_CGSM_INCH_OF_WATER", nil],
36
+ ["GSL_CONST_CGSM_JOULE", nil],
37
+ ["GSL_CONST_CGSM_KILOMETERS_PER_HOUR", nil],
38
+ ["GSL_CONST_CGSM_KILOPOUND_FORCE", nil],
39
+ ["GSL_CONST_CGSM_KNOT", nil],
40
+ ["GSL_CONST_CGSM_LAMBERT", nil],
41
+ ["GSL_CONST_CGSM_LIGHT_YEAR", nil],
42
+ ["GSL_CONST_CGSM_LITER", nil],
43
+ ["GSL_CONST_CGSM_LUMEN", nil],
44
+ ["GSL_CONST_CGSM_LUX", nil],
45
+ ["GSL_CONST_CGSM_MASS_ELECTRON", nil],
46
+ ["GSL_CONST_CGSM_MASS_MUON", nil],
47
+ ["GSL_CONST_CGSM_MASS_NEUTRON", nil],
48
+ ["GSL_CONST_CGSM_MASS_PROTON", nil],
49
+ ["GSL_CONST_CGSM_METER_OF_MERCURY", nil],
50
+ ["GSL_CONST_CGSM_METRIC_TON", nil],
51
+ ["GSL_CONST_CGSM_MICRON", nil],
52
+ ["GSL_CONST_CGSM_MIL", nil],
53
+ ["GSL_CONST_CGSM_MILE", nil],
54
+ ["GSL_CONST_CGSM_MILES_PER_HOUR", nil],
55
+ ["GSL_CONST_CGSM_MINUTE", nil],
56
+ ["GSL_CONST_CGSM_MOLAR_GAS", nil],
57
+ ["GSL_CONST_CGSM_NAUTICAL_MILE", nil],
58
+ ["GSL_CONST_CGSM_NEWTON", nil],
59
+ ["GSL_CONST_CGSM_NUCLEAR_MAGNETON", nil],
60
+ ["GSL_CONST_CGSM_OUNCE_MASS", nil],
61
+ ["GSL_CONST_CGSM_PARSEC", nil],
62
+ ["GSL_CONST_CGSM_PHOT", nil],
63
+ ["GSL_CONST_CGSM_PINT", nil],
64
+ ["GSL_CONST_CGSM_PLANCKS_CONSTANT_H", nil],
65
+ ["GSL_CONST_CGSM_PLANCKS_CONSTANT_HBAR", nil],
66
+ ["GSL_CONST_CGSM_POINT", nil],
67
+ ["GSL_CONST_CGSM_POISE", nil],
68
+ ["GSL_CONST_CGSM_POUNDAL", nil],
69
+ ["GSL_CONST_CGSM_POUND_FORCE", nil],
70
+ ["GSL_CONST_CGSM_POUND_MASS", nil],
71
+ ["GSL_CONST_CGSM_PROTON_MAGNETIC_MOMENT", nil],
72
+ ["GSL_CONST_CGSM_PSI", nil],
73
+ ["GSL_CONST_CGSM_QUART", nil],
74
+ ["GSL_CONST_CGSM_RAD", nil],
75
+ ["GSL_CONST_CGSM_ROENTGEN", nil],
76
+ ["GSL_CONST_CGSM_RYDBERG", nil],
77
+ ["GSL_CONST_CGSM_SOLAR_MASS", nil],
78
+ ["GSL_CONST_CGSM_SPEED_OF_LIGHT", nil],
79
+ ["GSL_CONST_CGSM_STANDARD_GAS_VOLUME", nil],
80
+ ["GSL_CONST_CGSM_STD_ATMOSPHERE", nil],
81
+ ["GSL_CONST_CGSM_STEFAN_BOLTZMANN_CONSTANT", nil],
82
+ ["GSL_CONST_CGSM_STILB", nil],
83
+ ["GSL_CONST_CGSM_STOKES", nil],
84
+ ["GSL_CONST_CGSM_TABLESPOON", nil],
85
+ ["GSL_CONST_CGSM_TEASPOON", nil],
86
+ ["GSL_CONST_CGSM_TEXPOINT", nil],
87
+ ["GSL_CONST_CGSM_THERM", nil],
88
+ ["GSL_CONST_CGSM_THOMSON_CROSS_SECTION", nil],
89
+ ["GSL_CONST_CGSM_TON", nil],
90
+ ["GSL_CONST_CGSM_TORR", nil],
91
+ ["GSL_CONST_CGSM_TROY_OUNCE", nil],
92
+ ["GSL_CONST_CGSM_UK_GALLON", nil],
93
+ ["GSL_CONST_CGSM_UK_TON", nil],
94
+ ["GSL_CONST_CGSM_UNIFIED_ATOMIC_MASS", nil],
95
+ ["GSL_CONST_CGSM_US_GALLON", nil],
96
+ ["GSL_CONST_CGSM_WEEK", nil],
97
+ ["GSL_CONST_CGSM_YARD", nil],
98
+ ["GSL_CONST_CGS_ACRE", nil],
99
+ ["GSL_CONST_CGS_ANGSTROM", nil],
100
+ ["GSL_CONST_CGS_ASTRONOMICAL_UNIT", nil],
101
+ ["GSL_CONST_CGS_BAR", nil],
102
+ ["GSL_CONST_CGS_BARN", nil],
103
+ ["GSL_CONST_CGS_BOHR_RADIUS", nil],
104
+ ["GSL_CONST_CGS_BOLTZMANN", nil],
105
+ ["GSL_CONST_CGS_BTU", nil],
106
+ ["GSL_CONST_CGS_CALORIE", nil],
107
+ ["GSL_CONST_CGS_CANADIAN_GALLON", nil],
108
+ ["GSL_CONST_CGS_CARAT", nil],
109
+ ["GSL_CONST_CGS_CUP", nil],
110
+ ["GSL_CONST_CGS_CURIE", nil],
111
+ ["GSL_CONST_CGS_DAY", nil],
112
+ ["GSL_CONST_CGS_DYNE", nil],
113
+ ["GSL_CONST_CGS_ELECTRON_VOLT", nil],
114
+ ["GSL_CONST_CGS_ERG", nil],
115
+ ["GSL_CONST_CGS_FATHOM", nil],
116
+ ["GSL_CONST_CGS_FLUID_OUNCE", nil],
117
+ ["GSL_CONST_CGS_FOOT", nil],
118
+ ["GSL_CONST_CGS_FOOTCANDLE", nil],
119
+ ["GSL_CONST_CGS_FOOTLAMBERT", nil],
120
+ ["GSL_CONST_CGS_GRAM_FORCE", nil],
121
+ ["GSL_CONST_CGS_GRAVITATIONAL_CONSTANT", nil],
122
+ ["GSL_CONST_CGS_GRAV_ACCEL", nil],
123
+ ["GSL_CONST_CGS_HECTARE", nil],
124
+ ["GSL_CONST_CGS_HORSEPOWER", nil],
125
+ ["GSL_CONST_CGS_HOUR", nil],
126
+ ["GSL_CONST_CGS_INCH", nil],
127
+ ["GSL_CONST_CGS_INCH_OF_MERCURY", nil],
128
+ ["GSL_CONST_CGS_INCH_OF_WATER", nil],
129
+ ["GSL_CONST_CGS_JOULE", nil],
130
+ ["GSL_CONST_CGS_KILOMETERS_PER_HOUR", nil],
131
+ ["GSL_CONST_CGS_KILOPOUND_FORCE", nil],
132
+ ["GSL_CONST_CGS_KNOT", nil],
133
+ ["GSL_CONST_CGS_LAMBERT", nil],
134
+ ["GSL_CONST_CGS_LIGHT_YEAR", nil],
135
+ ["GSL_CONST_CGS_LITER", nil],
136
+ ["GSL_CONST_CGS_LUMEN", nil],
137
+ ["GSL_CONST_CGS_LUX", nil],
138
+ ["GSL_CONST_CGS_MASS_ELECTRON", nil],
139
+ ["GSL_CONST_CGS_MASS_MUON", nil],
140
+ ["GSL_CONST_CGS_MASS_NEUTRON", nil],
141
+ ["GSL_CONST_CGS_MASS_PROTON", nil],
142
+ ["GSL_CONST_CGS_METER_OF_MERCURY", nil],
143
+ ["GSL_CONST_CGS_METRIC_TON", nil],
144
+ ["GSL_CONST_CGS_MICRON", nil],
145
+ ["GSL_CONST_CGS_MIL", nil],
146
+ ["GSL_CONST_CGS_MILE", nil],
147
+ ["GSL_CONST_CGS_MILES_PER_HOUR", nil],
148
+ ["GSL_CONST_CGS_MINUTE", nil],
149
+ ["GSL_CONST_CGS_MOLAR_GAS", nil],
150
+ ["GSL_CONST_CGS_NAUTICAL_MILE", nil],
151
+ ["GSL_CONST_CGS_NEWTON", nil],
152
+ ["GSL_CONST_CGS_OUNCE_MASS", nil],
153
+ ["GSL_CONST_CGS_PARSEC", nil],
154
+ ["GSL_CONST_CGS_PHOT", nil],
155
+ ["GSL_CONST_CGS_PINT", nil],
156
+ ["GSL_CONST_CGS_PLANCKS_CONSTANT_H", nil],
157
+ ["GSL_CONST_CGS_PLANCKS_CONSTANT_HBAR", nil],
158
+ ["GSL_CONST_CGS_POINT", nil],
159
+ ["GSL_CONST_CGS_POISE", nil],
160
+ ["GSL_CONST_CGS_POUNDAL", nil],
161
+ ["GSL_CONST_CGS_POUND_FORCE", nil],
162
+ ["GSL_CONST_CGS_POUND_MASS", nil],
163
+ ["GSL_CONST_CGS_PSI", nil],
164
+ ["GSL_CONST_CGS_QUART", nil],
165
+ ["GSL_CONST_CGS_RAD", nil],
166
+ ["GSL_CONST_CGS_ROENTGEN", nil],
167
+ ["GSL_CONST_CGS_RYDBERG", nil],
168
+ ["GSL_CONST_CGS_SOLAR_MASS", nil],
169
+ ["GSL_CONST_CGS_SPEED_OF_LIGHT", nil],
170
+ ["GSL_CONST_CGS_STANDARD_GAS_VOLUME", nil],
171
+ ["GSL_CONST_CGS_STD_ATMOSPHERE", nil],
172
+ ["GSL_CONST_CGS_STEFAN_BOLTZMANN_CONSTANT", nil],
173
+ ["GSL_CONST_CGS_STILB", nil],
174
+ ["GSL_CONST_CGS_STOKES", nil],
175
+ ["GSL_CONST_CGS_TABLESPOON", nil],
176
+ ["GSL_CONST_CGS_TEASPOON", nil],
177
+ ["GSL_CONST_CGS_TEXPOINT", nil],
178
+ ["GSL_CONST_CGS_THERM", nil],
179
+ ["GSL_CONST_CGS_THOMSON_CROSS_SECTION", nil],
180
+ ["GSL_CONST_CGS_TON", nil],
181
+ ["GSL_CONST_CGS_TORR", nil],
182
+ ["GSL_CONST_CGS_TROY_OUNCE", nil],
183
+ ["GSL_CONST_CGS_UK_GALLON", nil],
184
+ ["GSL_CONST_CGS_UK_TON", nil],
185
+ ["GSL_CONST_CGS_UNIFIED_ATOMIC_MASS", nil],
186
+ ["GSL_CONST_CGS_US_GALLON", nil],
187
+ ["GSL_CONST_CGS_WEEK", nil],
188
+ ["GSL_CONST_CGS_YARD", nil],
189
+ ["GSL_CONST_MKSA_ACRE", "The area of 1 acre. "],
190
+ ["GSL_CONST_MKSA_ANGSTROM", "The length of 1 angstrom. "],
191
+ ["GSL_CONST_MKSA_ASTRONOMICAL_UNIT",
192
+ "The length of 1 astronomical unit (mean earth-sun distance), au. "],
193
+ ["GSL_CONST_MKSA_BAR", "The pressure of 1 bar. "],
194
+ ["GSL_CONST_MKSA_BARN", "The area of 1 barn. "],
195
+ ["GSL_CONST_MKSA_BOHR_MAGNETON", "The Bohr Magneton, \\mu_B. "],
196
+ ["GSL_CONST_MKSA_BOHR_RADIUS", "The Bohr radius, a_0. "],
197
+ ["GSL_CONST_MKSA_BOLTZMANN", "The Boltzmann constant, k. "],
198
+ ["GSL_CONST_MKSA_BTU", "The energy of 1 British Thermal Unit, btu. "],
199
+ ["GSL_CONST_MKSA_CALORIE", "The energy of 1 calorie. "],
200
+ ["GSL_CONST_MKSA_CANADIAN_GALLON", "The volume of 1 Canadian gallon. "],
201
+ ["GSL_CONST_MKSA_CARAT", "The mass of 1 carat. "],
202
+ ["GSL_CONST_MKSA_CUP", nil],
203
+ ["GSL_CONST_MKSA_CURIE", "The activity of 1 curie. "],
204
+ ["GSL_CONST_MKSA_DAY", "The number of seconds in 1 day. "],
205
+ ["GSL_CONST_MKSA_DEBYE", "The electric dipole moment of 1 Debye, D."],
206
+ ["GSL_CONST_MKSA_DYNE", "The force of 1 Dyne = $10^{-5}$ 10^-5 Newton. "],
207
+ ["GSL_CONST_MKSA_ELECTRON_CHARGE", "The charge of the electron, e. "],
208
+ ["GSL_CONST_MKSA_ELECTRON_MAGNETIC_MOMENT",
209
+ "The absolute value of the magnetic moment of the electron, \\mu_e. The physical magnetic moment of the electron is negative. "],
210
+ ["GSL_CONST_MKSA_ELECTRON_VOLT", "The energy of 1 electron volt, eV. "],
211
+ ["GSL_CONST_MKSA_ERG", "The energy 1 erg = $10^{-7}$ 10^-7 Joule."],
212
+ ["GSL_CONST_MKSA_FARADAY", "The molar charge of 1 Faraday. "],
213
+ ["GSL_CONST_MKSA_FATHOM", "The length of 1 fathom. "],
214
+ ["GSL_CONST_MKSA_FLUID_OUNCE", nil],
215
+ ["GSL_CONST_MKSA_FOOT", "The length of 1 foot. "],
216
+ ["GSL_CONST_MKSA_FOOTCANDLE", "The illuminance of 1 footcandle. "],
217
+ ["GSL_CONST_MKSA_FOOTLAMBERT", "The luminance of 1 footlambert."],
218
+ ["GSL_CONST_MKSA_GAUSS", "The magnetic field of 1 Gauss."],
219
+ ["GSL_CONST_MKSA_GRAM_FORCE", "The force of 1 gram weight. "],
220
+ ["GSL_CONST_MKSA_GRAVITATIONAL_CONSTANT", "The gravitational constant, G. "],
221
+ ["GSL_CONST_MKSA_GRAV_ACCEL",
222
+ "The standard gravitational acceleration on Earth, g. "],
223
+ ["GSL_CONST_MKSA_HECTARE", "The area of 1 hectare. "],
224
+ ["GSL_CONST_MKSA_HORSEPOWER", "The power of 1 horsepower."],
225
+ ["GSL_CONST_MKSA_HOUR", "The number of seconds in 1 hour. "],
226
+ ["GSL_CONST_MKSA_INCH", "The length of 1 inch. "],
227
+ ["GSL_CONST_MKSA_INCH_OF_MERCURY", "The pressure of 1 inch of mercury. "],
228
+ ["GSL_CONST_MKSA_INCH_OF_WATER", "The pressure of 1 inch of water. "],
229
+ ["GSL_CONST_MKSA_JOULE", "The SI unit of energy, 1 Joule. "],
230
+ ["GSL_CONST_MKSA_KILOMETERS_PER_HOUR", "The speed of 1 kilometer per hour. "],
231
+ ["GSL_CONST_MKSA_KILOPOUND_FORCE", "The force of 1 kilopound weight. "],
232
+ ["GSL_CONST_MKSA_KNOT", "The speed of 1 knot."],
233
+ ["GSL_CONST_MKSA_LAMBERT", "The luminance of 1 lambert. "],
234
+ ["GSL_CONST_MKSA_LIGHT_YEAR", "The distance of 1 light-year, ly. "],
235
+ ["GSL_CONST_MKSA_LITER", "The volume of 1 liter. "],
236
+ ["GSL_CONST_MKSA_LUMEN", "The luminous flux of 1 lumen. "],
237
+ ["GSL_CONST_MKSA_LUX", "The illuminance of 1 lux. "],
238
+ ["GSL_CONST_MKSA_MASS_ELECTRON", "The mass of the electron, m_e. "],
239
+ ["GSL_CONST_MKSA_MASS_MUON", "The mass of the muon, m_\\mu. "],
240
+ ["GSL_CONST_MKSA_MASS_NEUTRON", "The mass of the neutron, m_n. "],
241
+ ["GSL_CONST_MKSA_MASS_PROTON", "The mass of the proton, m_p. "],
242
+ ["GSL_CONST_MKSA_METER_OF_MERCURY", "The pressure of 1 meter of mercury. "],
243
+ ["GSL_CONST_MKSA_METRIC_TON", "The mass of 1 metric ton (1000 kg). "],
244
+ ["GSL_CONST_MKSA_MICRON", "The length of 1 micron. "],
245
+ ["GSL_CONST_MKSA_MIL", "The length of 1 mil (1/1000th of an inch)."],
246
+ ["GSL_CONST_MKSA_MILE", "The length of 1 mile. "],
247
+ ["GSL_CONST_MKSA_MILES_PER_HOUR", "The speed of 1 mile per hour. "],
248
+ ["GSL_CONST_MKSA_MINUTE", "The number of seconds in 1 minute. "],
249
+ ["GSL_CONST_MKSA_MOLAR_GAS", "The molar gas constant, R_0. "],
250
+ ["GSL_CONST_MKSA_NAUTICAL_MILE", "The length of 1 nautical mile. "],
251
+ ["GSL_CONST_MKSA_NEWTON", "The SI unit of force, 1 Newton. "],
252
+ ["GSL_CONST_MKSA_NUCLEAR_MAGNETON", "The Nuclear Magneton, \\mu_N. "],
253
+ ["GSL_CONST_MKSA_OUNCE_MASS", "The mass of 1 ounce. "],
254
+ ["GSL_CONST_MKSA_PARSEC", "The distance of 1 parsec, pc. "],
255
+ ["GSL_CONST_MKSA_PHOT", "The illuminance of 1 phot. "],
256
+ ["GSL_CONST_MKSA_PINT", "The volume of 1 pint."],
257
+ ["GSL_CONST_MKSA_PLANCKS_CONSTANT_H", "Planck's constant, h. "],
258
+ ["GSL_CONST_MKSA_PLANCKS_CONSTANT_HBAR",
259
+ "Planck's constant divided by 2\\pi, \\hbar. "],
260
+ ["GSL_CONST_MKSA_POINT", "The length of 1 printer's point (1/72 inch). "],
261
+ ["GSL_CONST_MKSA_POISE", "The dynamic viscosity of 1 poise. "],
262
+ ["GSL_CONST_MKSA_POUNDAL", "The force of 1 poundal."],
263
+ ["GSL_CONST_MKSA_POUND_FORCE", "The force of 1 pound weight. "],
264
+ ["GSL_CONST_MKSA_POUND_MASS", "The mass of 1 pound. "],
265
+ ["GSL_CONST_MKSA_PROTON_MAGNETIC_MOMENT",
266
+ "The magnetic moment of the proton, \\mu_p. "],
267
+ ["GSL_CONST_MKSA_PSI", "The pressure of 1 pound per square inch."],
268
+ ["GSL_CONST_MKSA_QUART", "The volume of 1 quart. "],
269
+ ["GSL_CONST_MKSA_RAD", "The absorbed dose of 1 rad."],
270
+ ["GSL_CONST_MKSA_ROENTGEN", "The exposure of 1 roentgen. "],
271
+ ["GSL_CONST_MKSA_RYDBERG",
272
+ "The Rydberg constant, Ry, in units of energy. This is related to the Rydberg inverse wavelength R_\\infty by Ry = h c R_\\infty. "],
273
+ ["GSL_CONST_MKSA_SOLAR_MASS", "The mass of the Sun."],
274
+ ["GSL_CONST_MKSA_SPEED_OF_LIGHT", "The speed of light in vacuum, c. "],
275
+ ["GSL_CONST_MKSA_STANDARD_GAS_VOLUME", "The standard gas volume, V_0. "],
276
+ ["GSL_CONST_MKSA_STD_ATMOSPHERE", "The pressure of 1 standard atmosphere. "],
277
+ ["GSL_CONST_MKSA_STEFAN_BOLTZMANN_CONSTANT",
278
+ "The Stefan-Boltzmann radiation constant, \\sigma. "],
279
+ ["GSL_CONST_MKSA_STILB", "The luminance of 1 stilb. "],
280
+ ["GSL_CONST_MKSA_STOKES", "The kinematic viscosity of 1 stokes."],
281
+ ["GSL_CONST_MKSA_TABLESPOON", nil],
282
+ ["GSL_CONST_MKSA_TEASPOON", nil],
283
+ ["GSL_CONST_MKSA_TEXPOINT", "The length of 1 TeX point (1/72.27 inch)."],
284
+ ["GSL_CONST_MKSA_THERM", "The energy of 1 Therm. "],
285
+ ["GSL_CONST_MKSA_THOMSON_CROSS_SECTION",
286
+ "The Thomson cross section, \\sigma_T. "],
287
+ ["GSL_CONST_MKSA_TON", "The mass of 1 ton. "],
288
+ ["GSL_CONST_MKSA_TORR", "The pressure of 1 torr. "],
289
+ ["GSL_CONST_MKSA_TROY_OUNCE", "The mass of 1 troy ounce. "],
290
+ ["GSL_CONST_MKSA_UK_GALLON", "The volume of 1 UK gallon. "],
291
+ ["GSL_CONST_MKSA_UK_TON", "The mass of 1 UK ton. "],
292
+ ["GSL_CONST_MKSA_UNIFIED_ATOMIC_MASS", "The unified atomic mass, amu. "],
293
+ ["GSL_CONST_MKSA_US_GALLON", "The volume of 1 US gallon. "],
294
+ ["GSL_CONST_MKSA_VACUUM_PERMEABILITY",
295
+ "The permeability of free space, \\mu_0. This constant is defined in the MKSA system only. "],
296
+ ["GSL_CONST_MKSA_VACUUM_PERMITTIVITY",
297
+ "The permittivity of free space, \\epsilon_0. This constant is defined in the MKSA system only. "],
298
+ ["GSL_CONST_MKSA_WEEK", "The number of seconds in 1 week."],
299
+ ["GSL_CONST_MKSA_YARD", "The length of 1 yard. "],
300
+ ["GSL_CONST_MKS_ACRE", nil],
301
+ ["GSL_CONST_MKS_ANGSTROM", nil],
302
+ ["GSL_CONST_MKS_ASTRONOMICAL_UNIT", nil],
303
+ ["GSL_CONST_MKS_BAR", nil],
304
+ ["GSL_CONST_MKS_BARN", nil],
305
+ ["GSL_CONST_MKS_BOHR_MAGNETON", nil],
306
+ ["GSL_CONST_MKS_BOHR_RADIUS", nil],
307
+ ["GSL_CONST_MKS_BOLTZMANN", nil],
308
+ ["GSL_CONST_MKS_BTU", nil],
309
+ ["GSL_CONST_MKS_CALORIE", nil],
310
+ ["GSL_CONST_MKS_CANADIAN_GALLON", nil],
311
+ ["GSL_CONST_MKS_CARAT", nil],
312
+ ["GSL_CONST_MKS_CUP", nil],
313
+ ["GSL_CONST_MKS_CURIE", nil],
314
+ ["GSL_CONST_MKS_DAY", nil],
315
+ ["GSL_CONST_MKS_DEBYE", nil],
316
+ ["GSL_CONST_MKS_DYNE", nil],
317
+ ["GSL_CONST_MKS_ELECTRON_CHARGE", nil],
318
+ ["GSL_CONST_MKS_ELECTRON_MAGNETIC_MOMENT", nil],
319
+ ["GSL_CONST_MKS_ELECTRON_VOLT", nil],
320
+ ["GSL_CONST_MKS_ERG", nil],
321
+ ["GSL_CONST_MKS_FARADAY", nil],
322
+ ["GSL_CONST_MKS_FATHOM", nil],
323
+ ["GSL_CONST_MKS_FLUID_OUNCE", nil],
324
+ ["GSL_CONST_MKS_FOOT", nil],
325
+ ["GSL_CONST_MKS_FOOTCANDLE", nil],
326
+ ["GSL_CONST_MKS_FOOTLAMBERT", nil],
327
+ ["GSL_CONST_MKS_GAUSS", nil],
328
+ ["GSL_CONST_MKS_GRAM_FORCE", nil],
329
+ ["GSL_CONST_MKS_GRAVITATIONAL_CONSTANT", nil],
330
+ ["GSL_CONST_MKS_GRAV_ACCEL", nil],
331
+ ["GSL_CONST_MKS_HECTARE", nil],
332
+ ["GSL_CONST_MKS_HORSEPOWER", nil],
333
+ ["GSL_CONST_MKS_HOUR", nil],
334
+ ["GSL_CONST_MKS_INCH", nil],
335
+ ["GSL_CONST_MKS_INCH_OF_MERCURY", nil],
336
+ ["GSL_CONST_MKS_INCH_OF_WATER", nil],
337
+ ["GSL_CONST_MKS_JOULE", nil],
338
+ ["GSL_CONST_MKS_KILOMETERS_PER_HOUR", nil],
339
+ ["GSL_CONST_MKS_KILOPOUND_FORCE", nil],
340
+ ["GSL_CONST_MKS_KNOT", nil],
341
+ ["GSL_CONST_MKS_LAMBERT", nil],
342
+ ["GSL_CONST_MKS_LIGHT_YEAR", nil],
343
+ ["GSL_CONST_MKS_LITER", nil],
344
+ ["GSL_CONST_MKS_LUMEN", nil],
345
+ ["GSL_CONST_MKS_LUX", nil],
346
+ ["GSL_CONST_MKS_MASS_ELECTRON", nil],
347
+ ["GSL_CONST_MKS_MASS_MUON", nil],
348
+ ["GSL_CONST_MKS_MASS_NEUTRON", nil],
349
+ ["GSL_CONST_MKS_MASS_PROTON", nil],
350
+ ["GSL_CONST_MKS_METER_OF_MERCURY", nil],
351
+ ["GSL_CONST_MKS_METRIC_TON", nil],
352
+ ["GSL_CONST_MKS_MICRON", nil],
353
+ ["GSL_CONST_MKS_MIL", nil],
354
+ ["GSL_CONST_MKS_MILE", nil],
355
+ ["GSL_CONST_MKS_MILES_PER_HOUR", nil],
356
+ ["GSL_CONST_MKS_MINUTE", nil],
357
+ ["GSL_CONST_MKS_MOLAR_GAS", nil],
358
+ ["GSL_CONST_MKS_NAUTICAL_MILE", nil],
359
+ ["GSL_CONST_MKS_NEWTON", nil],
360
+ ["GSL_CONST_MKS_NUCLEAR_MAGNETON", nil],
361
+ ["GSL_CONST_MKS_OUNCE_MASS", nil],
362
+ ["GSL_CONST_MKS_PARSEC", nil],
363
+ ["GSL_CONST_MKS_PHOT", nil],
364
+ ["GSL_CONST_MKS_PINT", nil],
365
+ ["GSL_CONST_MKS_PLANCKS_CONSTANT_H", nil],
366
+ ["GSL_CONST_MKS_PLANCKS_CONSTANT_HBAR", nil],
367
+ ["GSL_CONST_MKS_POINT", nil],
368
+ ["GSL_CONST_MKS_POISE", nil],
369
+ ["GSL_CONST_MKS_POUNDAL", nil],
370
+ ["GSL_CONST_MKS_POUND_FORCE", nil],
371
+ ["GSL_CONST_MKS_POUND_MASS", nil],
372
+ ["GSL_CONST_MKS_PROTON_MAGNETIC_MOMENT", nil],
373
+ ["GSL_CONST_MKS_PSI", nil],
374
+ ["GSL_CONST_MKS_QUART", nil],
375
+ ["GSL_CONST_MKS_RAD", nil],
376
+ ["GSL_CONST_MKS_ROENTGEN", nil],
377
+ ["GSL_CONST_MKS_RYDBERG", nil],
378
+ ["GSL_CONST_MKS_SOLAR_MASS", nil],
379
+ ["GSL_CONST_MKS_SPEED_OF_LIGHT", nil],
380
+ ["GSL_CONST_MKS_STANDARD_GAS_VOLUME", nil],
381
+ ["GSL_CONST_MKS_STD_ATMOSPHERE", nil],
382
+ ["GSL_CONST_MKS_STEFAN_BOLTZMANN_CONSTANT", nil],
383
+ ["GSL_CONST_MKS_STILB", nil],
384
+ ["GSL_CONST_MKS_STOKES", nil],
385
+ ["GSL_CONST_MKS_TABLESPOON", nil],
386
+ ["GSL_CONST_MKS_TEASPOON", nil],
387
+ ["GSL_CONST_MKS_TEXPOINT", nil],
388
+ ["GSL_CONST_MKS_THERM", nil],
389
+ ["GSL_CONST_MKS_THOMSON_CROSS_SECTION", nil],
390
+ ["GSL_CONST_MKS_TON", nil],
391
+ ["GSL_CONST_MKS_TORR", nil],
392
+ ["GSL_CONST_MKS_TROY_OUNCE", nil],
393
+ ["GSL_CONST_MKS_UK_GALLON", nil],
394
+ ["GSL_CONST_MKS_UK_TON", nil],
395
+ ["GSL_CONST_MKS_UNIFIED_ATOMIC_MASS", nil],
396
+ ["GSL_CONST_MKS_US_GALLON", nil],
397
+ ["GSL_CONST_MKS_VACUUM_PERMEABILITY", nil],
398
+ ["GSL_CONST_MKS_VACUUM_PERMITTIVITY", nil],
399
+ ["GSL_CONST_MKS_WEEK", nil],
400
+ ["GSL_CONST_MKS_YARD", nil],
401
+ ["GSL_CONST_NUM_ATTO", "$10^{-18}$ 10^-18 "],
402
+ ["GSL_CONST_NUM_AVOGADRO", "Avogadro's number, N_a. "],
403
+ ["GSL_CONST_NUM_EXA", "$10^{18}$ 10^18 "],
404
+ ["GSL_CONST_NUM_FEMTO", "$10^{-15}$ 10^-15 "],
405
+ ["GSL_CONST_NUM_FINE_STRUCTURE",
406
+ "The electromagnetic fine structure constant \\alpha. "],
407
+ ["GSL_CONST_NUM_GIGA", "10^9 "],
408
+ ["GSL_CONST_NUM_KILO", "10^3 "],
409
+ ["GSL_CONST_NUM_MEGA", "10^6 "],
410
+ ["GSL_CONST_NUM_MICRO", "$10^{-6}$ 10^-6 "],
411
+ ["GSL_CONST_NUM_MILLI", "$10^{-3}$ 10^-3 "],
412
+ ["GSL_CONST_NUM_NANO", "$10^{-9}$ 10^-9 "],
413
+ ["GSL_CONST_NUM_PETA", "$10^{15}$ 10^15 "],
414
+ ["GSL_CONST_NUM_PICO", "$10^{-12}$ 10^-12 "],
415
+ ["GSL_CONST_NUM_TERA", "$10^{12}$ 10^12 "],
416
+ ["GSL_CONST_NUM_YOCTO", "$10^{-24}$ 10^-24"],
417
+ ["GSL_CONST_NUM_YOTTA", "$10^{24}$ 10^24 "],
418
+ ["GSL_CONST_NUM_ZEPTO", "$10^{-21}$ 10^-21 "],
419
+ ["GSL_CONST_NUM_ZETTA", "$10^{21}$ 10^21 "]]
@@ -0,0 +1,17 @@
1
+ COGEN=ruby erbpp_const.rb
2
+ GENSRC=gsl_const.c
3
+ GENDEPS=erbpp_const.rb ../gen/*.rb ../gen/tmpl/*.c
4
+
5
+ src : $(GENSRC)
6
+
7
+ $(GENSRC) : $(GENDEPS)
8
+ $(COGEN) > $@
9
+
10
+ doc : $(GENSRC)
11
+ yard doc $(GENSRC)
12
+
13
+ clean: cleansrc cleandoc
14
+ cleansrc:
15
+ -$(Q)$(RM) $(GENSRC)
16
+ cleandoc:
17
+ -$(Q)$(RM_RF) doc .yardoc
@@ -0,0 +1,30 @@
1
+ require_relative "../gen/erbpp2"
2
+ require_relative "../gen/erbpp_gsl"
3
+ require "erbpp/line_number"
4
+
5
+
6
+ const_list = ErbppGsl.read_const
7
+
8
+ DefLib.new do
9
+ set erb_dir: %w[tmpl ../gen/tmpl]
10
+ set erb_suffix: ".c"
11
+
12
+ set file_name: "gsl_const.c"
13
+ set include_files: %w[gsl/gsl_const.h]
14
+ set lib_name: "const"
15
+ set ns_var: "mGSL"
16
+
17
+ def_module do
18
+ set name: "const"
19
+ set module_name: "Const"
20
+ set module_var: "mConst"
21
+ set full_module_name: "Numo::GSL::Const"
22
+
23
+ const_list.each do |a|
24
+ m = a[0].sub(/^GSL_CONST_/,"")
25
+ v = "DBL2NUM(#{a[0]})"
26
+ def_const(m, v, desc:a[1]||"")
27
+ end
28
+ end
29
+
30
+ end.run