gsl 1.12.109 → 1.14.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (511) hide show
  1. data/AUTHORS +6 -0
  2. data/COPYING +339 -0
  3. data/ChangeLog +556 -0
  4. data/{README.rdoc → README} +3 -0
  5. data/Rakefile +54 -10
  6. data/THANKS +17 -0
  7. data/VERSION +1 -2
  8. data/examples/alf/alf.gp +15 -0
  9. data/examples/alf/alf.rb +32 -0
  10. data/examples/blas/blas.rb +13 -0
  11. data/examples/blas/dnrm2.rb +16 -0
  12. data/examples/blas/level1.rb +81 -0
  13. data/examples/blas/level2.rb +11 -0
  14. data/examples/blas/level3.rb +12 -0
  15. data/examples/bspline.rb +57 -0
  16. data/examples/cdf.rb +16 -0
  17. data/examples/cheb.rb +21 -0
  18. data/examples/combination.rb +23 -0
  19. data/examples/complex/RC-lpf.rb +47 -0
  20. data/examples/complex/add.rb +36 -0
  21. data/examples/complex/coerce.rb +14 -0
  22. data/examples/complex/complex.rb +25 -0
  23. data/examples/complex/fpmi.rb +70 -0
  24. data/examples/complex/functions.rb +77 -0
  25. data/examples/complex/michelson.rb +36 -0
  26. data/examples/complex/mul.rb +28 -0
  27. data/examples/complex/oscillator.rb +17 -0
  28. data/examples/complex/set.rb +37 -0
  29. data/examples/const/physconst.rb +151 -0
  30. data/examples/const/travel.rb +45 -0
  31. data/examples/deriv/demo.rb +13 -0
  32. data/examples/deriv/deriv.rb +36 -0
  33. data/examples/deriv/diff.rb +35 -0
  34. data/examples/dht.rb +42 -0
  35. data/examples/dirac.rb +56 -0
  36. data/examples/eigen/eigen.rb +34 -0
  37. data/examples/eigen/herm.rb +22 -0
  38. data/examples/eigen/narray.rb +9 -0
  39. data/examples/eigen/nonsymm.rb +37 -0
  40. data/examples/eigen/nonsymmv.rb +43 -0
  41. data/examples/eigen/qhoscillator.gp +35 -0
  42. data/examples/eigen/qhoscillator.rb +90 -0
  43. data/examples/eigen/vander.rb +41 -0
  44. data/examples/fft/fft.rb +17 -0
  45. data/examples/fft/fft2.rb +17 -0
  46. data/examples/fft/forward.rb +25 -0
  47. data/examples/fft/forward2.rb +26 -0
  48. data/examples/fft/radix2.rb +18 -0
  49. data/examples/fft/real-halfcomplex.rb +33 -0
  50. data/examples/fft/real-halfcomplex2.rb +30 -0
  51. data/examples/fft/realradix2.rb +19 -0
  52. data/examples/fft/sunspot.dat +256 -0
  53. data/examples/fft/sunspot.rb +16 -0
  54. data/examples/fit/expdata.dat +20 -0
  55. data/examples/fit/expfit.rb +31 -0
  56. data/examples/fit/gaussfit.rb +29 -0
  57. data/examples/fit/gaussian_2peaks.rb +34 -0
  58. data/examples/fit/hillfit.rb +40 -0
  59. data/examples/fit/lognormal.rb +26 -0
  60. data/examples/fit/lorentzfit.rb +22 -0
  61. data/examples/fit/multifit.rb +72 -0
  62. data/examples/fit/ndlinear.rb +133 -0
  63. data/examples/fit/nonlinearfit.rb +89 -0
  64. data/examples/fit/plot.gp +36 -0
  65. data/examples/fit/polyfit.rb +9 -0
  66. data/examples/fit/powerfit.rb +21 -0
  67. data/examples/fit/sigmoidfit.rb +40 -0
  68. data/examples/fit/sinfit.rb +22 -0
  69. data/examples/fit/wlinear.rb +46 -0
  70. data/examples/fresnel.rb +11 -0
  71. data/examples/function/function.rb +36 -0
  72. data/examples/function/log.rb +7 -0
  73. data/examples/function/min.rb +33 -0
  74. data/examples/function/sin.rb +10 -0
  75. data/examples/function/synchrotron.rb +18 -0
  76. data/examples/gallery/butterfly.rb +7 -0
  77. data/examples/gallery/cayley.rb +12 -0
  78. data/examples/gallery/cornu.rb +23 -0
  79. data/examples/gallery/eight.rb +11 -0
  80. data/examples/gallery/koch.rb +40 -0
  81. data/examples/gallery/lemniscate.rb +11 -0
  82. data/examples/gallery/polar.rb +11 -0
  83. data/examples/gallery/rgplot/cossin.rb +35 -0
  84. data/examples/gallery/rgplot/rgplot.replaced +0 -0
  85. data/examples/gallery/rgplot/roesller.rb +55 -0
  86. data/examples/gallery/roesller.rb +39 -0
  87. data/examples/gallery/scarabaeus.rb +14 -0
  88. data/examples/histogram/cauchy.rb +27 -0
  89. data/examples/histogram/cauchy.sh +2 -0
  90. data/examples/histogram/exponential.rb +19 -0
  91. data/examples/histogram/gauss.rb +16 -0
  92. data/examples/histogram/gsl-histogram.rb +40 -0
  93. data/examples/histogram/histo2d.rb +31 -0
  94. data/examples/histogram/histo3d.rb +34 -0
  95. data/examples/histogram/histogram-pdf.rb +27 -0
  96. data/examples/histogram/histogram.rb +26 -0
  97. data/examples/histogram/integral.rb +28 -0
  98. data/examples/histogram/poisson.rb +27 -0
  99. data/examples/histogram/power.rb +25 -0
  100. data/examples/histogram/rebin.rb +17 -0
  101. data/examples/histogram/smp.dat +5 -0
  102. data/examples/histogram/xexp.rb +21 -0
  103. data/examples/integration/ahmed.rb +21 -0
  104. data/examples/integration/cosmology.rb +75 -0
  105. data/examples/integration/friedmann.gp +16 -0
  106. data/examples/integration/friedmann.rb +35 -0
  107. data/examples/integration/gamma-zeta.rb +35 -0
  108. data/examples/integration/integration.rb +22 -0
  109. data/examples/integration/qag.rb +8 -0
  110. data/examples/integration/qag2.rb +14 -0
  111. data/examples/integration/qag3.rb +8 -0
  112. data/examples/integration/qagi.rb +28 -0
  113. data/examples/integration/qagi2.rb +49 -0
  114. data/examples/integration/qagiu.rb +29 -0
  115. data/examples/integration/qagp.rb +20 -0
  116. data/examples/integration/qags.rb +14 -0
  117. data/examples/integration/qawc.rb +18 -0
  118. data/examples/integration/qawf.rb +41 -0
  119. data/examples/integration/qawo.rb +29 -0
  120. data/examples/integration/qaws.rb +30 -0
  121. data/examples/integration/qng.rb +17 -0
  122. data/examples/interp/demo.gp +20 -0
  123. data/examples/interp/demo.rb +45 -0
  124. data/examples/interp/interp.rb +37 -0
  125. data/examples/interp/points +10 -0
  126. data/examples/interp/spline.rb +20 -0
  127. data/examples/jacobi/deriv.rb +40 -0
  128. data/examples/jacobi/integrate.rb +34 -0
  129. data/examples/jacobi/interp.rb +43 -0
  130. data/examples/jacobi/jacobi.rb +11 -0
  131. data/examples/linalg/HH.rb +15 -0
  132. data/examples/linalg/HH_narray.rb +13 -0
  133. data/examples/linalg/LQ_solve.rb +73 -0
  134. data/examples/linalg/LU.rb +84 -0
  135. data/examples/linalg/LU2.rb +31 -0
  136. data/examples/linalg/LU_narray.rb +24 -0
  137. data/examples/linalg/PTLQ.rb +47 -0
  138. data/examples/linalg/QR.rb +18 -0
  139. data/examples/linalg/QRPT.rb +47 -0
  140. data/examples/linalg/QR_solve.rb +78 -0
  141. data/examples/linalg/QR_solve_narray.rb +13 -0
  142. data/examples/linalg/SV.rb +16 -0
  143. data/examples/linalg/SV_narray.rb +12 -0
  144. data/examples/linalg/SV_solve.rb +49 -0
  145. data/examples/linalg/chol.rb +29 -0
  146. data/examples/linalg/chol_narray.rb +15 -0
  147. data/examples/linalg/complex.rb +57 -0
  148. data/examples/linalg/invert_narray.rb +10 -0
  149. data/examples/math/const.rb +67 -0
  150. data/examples/math/elementary.rb +35 -0
  151. data/examples/math/functions.rb +41 -0
  152. data/examples/math/inf_nan.rb +34 -0
  153. data/examples/math/minmax.rb +22 -0
  154. data/examples/math/power.rb +18 -0
  155. data/examples/math/test.rb +31 -0
  156. data/examples/matrix/a.dat +0 -0
  157. data/examples/matrix/add.rb +45 -0
  158. data/examples/matrix/b.dat +4 -0
  159. data/examples/matrix/cat.rb +31 -0
  160. data/examples/matrix/colvectors.rb +24 -0
  161. data/examples/matrix/complex.rb +41 -0
  162. data/examples/matrix/det.rb +29 -0
  163. data/examples/matrix/diagonal.rb +23 -0
  164. data/examples/matrix/get_all.rb +159 -0
  165. data/examples/matrix/hilbert.rb +31 -0
  166. data/examples/matrix/iterator.rb +19 -0
  167. data/examples/matrix/matrix.rb +57 -0
  168. data/examples/matrix/minmax.rb +53 -0
  169. data/examples/matrix/mul.rb +39 -0
  170. data/examples/matrix/rand.rb +20 -0
  171. data/examples/matrix/read.rb +29 -0
  172. data/examples/matrix/rowcol.rb +47 -0
  173. data/examples/matrix/set.rb +41 -0
  174. data/examples/matrix/set_all.rb +100 -0
  175. data/examples/matrix/view.rb +32 -0
  176. data/examples/matrix/view_all.rb +148 -0
  177. data/examples/matrix/write.rb +23 -0
  178. data/examples/min.rb +29 -0
  179. data/examples/monte/miser.rb +47 -0
  180. data/examples/monte/monte.rb +47 -0
  181. data/examples/monte/plain.rb +47 -0
  182. data/examples/monte/vegas.rb +46 -0
  183. data/examples/multimin/bundle.rb +66 -0
  184. data/examples/multimin/cqp.rb +109 -0
  185. data/examples/multimin/fdfminimizer.rb +40 -0
  186. data/examples/multimin/fminimizer.rb +41 -0
  187. data/examples/multiroot/demo.rb +36 -0
  188. data/examples/multiroot/fdfsolver.rb +50 -0
  189. data/examples/multiroot/fsolver.rb +33 -0
  190. data/examples/multiroot/fsolver2.rb +32 -0
  191. data/examples/multiroot/fsolver3.rb +26 -0
  192. data/examples/narray/histogram.rb +14 -0
  193. data/examples/narray/mandel.rb +27 -0
  194. data/examples/narray/narray.rb +28 -0
  195. data/examples/narray/narray2.rb +44 -0
  196. data/examples/narray/sf.rb +26 -0
  197. data/examples/ntuple/create.rb +17 -0
  198. data/examples/ntuple/project.rb +31 -0
  199. data/examples/odeiv/binarysystem.gp +23 -0
  200. data/examples/odeiv/binarysystem.rb +104 -0
  201. data/examples/odeiv/demo.gp +24 -0
  202. data/examples/odeiv/demo.rb +69 -0
  203. data/examples/odeiv/demo2.gp +26 -0
  204. data/examples/odeiv/duffing.rb +45 -0
  205. data/examples/odeiv/frei1.rb +109 -0
  206. data/examples/odeiv/frei2.rb +76 -0
  207. data/examples/odeiv/legendre.rb +52 -0
  208. data/examples/odeiv/odeiv.rb +32 -0
  209. data/examples/odeiv/odeiv2.rb +45 -0
  210. data/examples/odeiv/oscillator.rb +42 -0
  211. data/examples/odeiv/sedov.rb +97 -0
  212. data/examples/odeiv/whitedwarf.gp +40 -0
  213. data/examples/odeiv/whitedwarf.rb +158 -0
  214. data/examples/ool/conmin.rb +100 -0
  215. data/examples/ool/gencan.rb +99 -0
  216. data/examples/ool/pgrad.rb +100 -0
  217. data/examples/ool/spg.rb +100 -0
  218. data/examples/pdf/bernoulli.rb +5 -0
  219. data/examples/pdf/beta.rb +7 -0
  220. data/examples/pdf/binomiral.rb +10 -0
  221. data/examples/pdf/cauchy.rb +6 -0
  222. data/examples/pdf/chisq.rb +8 -0
  223. data/examples/pdf/exponential.rb +7 -0
  224. data/examples/pdf/exppow.rb +6 -0
  225. data/examples/pdf/fdist.rb +7 -0
  226. data/examples/pdf/flat.rb +7 -0
  227. data/examples/pdf/gamma.rb +8 -0
  228. data/examples/pdf/gauss-tail.rb +5 -0
  229. data/examples/pdf/gauss.rb +6 -0
  230. data/examples/pdf/geometric.rb +5 -0
  231. data/examples/pdf/gumbel.rb +6 -0
  232. data/examples/pdf/hypergeometric.rb +11 -0
  233. data/examples/pdf/landau.rb +5 -0
  234. data/examples/pdf/laplace.rb +7 -0
  235. data/examples/pdf/logarithmic.rb +5 -0
  236. data/examples/pdf/logistic.rb +6 -0
  237. data/examples/pdf/lognormal.rb +6 -0
  238. data/examples/pdf/neg-binomiral.rb +10 -0
  239. data/examples/pdf/pareto.rb +7 -0
  240. data/examples/pdf/pascal.rb +10 -0
  241. data/examples/pdf/poisson.rb +5 -0
  242. data/examples/pdf/rayleigh-tail.rb +6 -0
  243. data/examples/pdf/rayleigh.rb +6 -0
  244. data/examples/pdf/tdist.rb +6 -0
  245. data/examples/pdf/weibull.rb +8 -0
  246. data/examples/permutation/ex1.rb +22 -0
  247. data/examples/permutation/permutation.rb +16 -0
  248. data/examples/poly/bell.rb +6 -0
  249. data/examples/poly/bessel.rb +6 -0
  250. data/examples/poly/cheb.rb +6 -0
  251. data/examples/poly/cheb_II.rb +6 -0
  252. data/examples/poly/cubic.rb +9 -0
  253. data/examples/poly/demo.rb +20 -0
  254. data/examples/poly/eval.rb +28 -0
  255. data/examples/poly/eval_derivs.rb +14 -0
  256. data/examples/poly/fit.rb +21 -0
  257. data/examples/poly/hermite.rb +6 -0
  258. data/examples/poly/poly.rb +13 -0
  259. data/examples/poly/quadratic.rb +25 -0
  260. data/examples/random/diffusion.rb +34 -0
  261. data/examples/random/gaussian.rb +9 -0
  262. data/examples/random/generator.rb +27 -0
  263. data/examples/random/hdsobol.rb +21 -0
  264. data/examples/random/poisson.rb +9 -0
  265. data/examples/random/qrng.rb +19 -0
  266. data/examples/random/randomwalk.rb +37 -0
  267. data/examples/random/randomwalk2d.rb +19 -0
  268. data/examples/random/rayleigh.rb +36 -0
  269. data/examples/random/rng.rb +33 -0
  270. data/examples/random/rngextra.rb +14 -0
  271. data/examples/roots/bisection.rb +25 -0
  272. data/examples/roots/brent.rb +43 -0
  273. data/examples/roots/demo.rb +30 -0
  274. data/examples/roots/newton.rb +46 -0
  275. data/examples/roots/recombination.gp +12 -0
  276. data/examples/roots/recombination.rb +61 -0
  277. data/examples/roots/steffenson.rb +48 -0
  278. data/examples/sf/ShiChi.rb +6 -0
  279. data/examples/sf/SiCi.rb +6 -0
  280. data/examples/sf/airy_Ai.rb +8 -0
  281. data/examples/sf/airy_Bi.rb +8 -0
  282. data/examples/sf/bessel_IK.rb +12 -0
  283. data/examples/sf/bessel_JY.rb +13 -0
  284. data/examples/sf/beta_inc.rb +9 -0
  285. data/examples/sf/clausen.rb +6 -0
  286. data/examples/sf/dawson.rb +5 -0
  287. data/examples/sf/debye.rb +9 -0
  288. data/examples/sf/dilog.rb +6 -0
  289. data/examples/sf/ellint.rb +6 -0
  290. data/examples/sf/expint.rb +8 -0
  291. data/examples/sf/fermi.rb +10 -0
  292. data/examples/sf/gamma_inc_P.rb +9 -0
  293. data/examples/sf/gegenbauer.rb +8 -0
  294. data/examples/sf/hyperg.rb +7 -0
  295. data/examples/sf/laguerre.rb +19 -0
  296. data/examples/sf/lambertW.rb +5 -0
  297. data/examples/sf/legendre_P.rb +10 -0
  298. data/examples/sf/lngamma.rb +5 -0
  299. data/examples/sf/psi.rb +54 -0
  300. data/examples/sf/sphbessel.gp +27 -0
  301. data/examples/sf/sphbessel.rb +30 -0
  302. data/examples/sf/synchrotron.rb +5 -0
  303. data/examples/sf/transport.rb +10 -0
  304. data/examples/sf/zetam1.rb +5 -0
  305. data/examples/siman.rb +44 -0
  306. data/examples/sort/heapsort.rb +23 -0
  307. data/examples/sort/heapsort_vector_complex.rb +21 -0
  308. data/examples/sort/sort.rb +23 -0
  309. data/examples/sort/sort2.rb +16 -0
  310. data/examples/stats/mean.rb +17 -0
  311. data/examples/stats/statistics.rb +18 -0
  312. data/examples/stats/test.rb +9 -0
  313. data/examples/sum.rb +34 -0
  314. data/examples/tamu_anova.rb +18 -0
  315. data/examples/vector/a.dat +0 -0
  316. data/examples/vector/add.rb +56 -0
  317. data/examples/vector/b.dat +4 -0
  318. data/examples/vector/c.dat +3 -0
  319. data/examples/vector/collect.rb +26 -0
  320. data/examples/vector/compare.rb +28 -0
  321. data/examples/vector/complex.rb +51 -0
  322. data/examples/vector/complex_get_all.rb +85 -0
  323. data/examples/vector/complex_set_all.rb +131 -0
  324. data/examples/vector/complex_view_all.rb +77 -0
  325. data/examples/vector/connect.rb +22 -0
  326. data/examples/vector/decimate.rb +38 -0
  327. data/examples/vector/diff.rb +31 -0
  328. data/examples/vector/filescan.rb +17 -0
  329. data/examples/vector/floor.rb +23 -0
  330. data/examples/vector/get_all.rb +82 -0
  331. data/examples/vector/gnuplot.rb +38 -0
  332. data/examples/vector/graph.rb +28 -0
  333. data/examples/vector/histogram.rb +22 -0
  334. data/examples/vector/linspace.rb +24 -0
  335. data/examples/vector/log.rb +17 -0
  336. data/examples/vector/logic.rb +33 -0
  337. data/examples/vector/logspace.rb +25 -0
  338. data/examples/vector/minmax.rb +47 -0
  339. data/examples/vector/mul.rb +49 -0
  340. data/examples/vector/narray.rb +46 -0
  341. data/examples/vector/read.rb +29 -0
  342. data/examples/vector/set.rb +35 -0
  343. data/examples/vector/set_all.rb +121 -0
  344. data/examples/vector/smpv.dat +15 -0
  345. data/examples/vector/test.rb +43 -0
  346. data/examples/vector/test_gslblock.rb +58 -0
  347. data/examples/vector/vector.rb +110 -0
  348. data/examples/vector/view.rb +35 -0
  349. data/examples/vector/view_all.rb +73 -0
  350. data/examples/vector/where.rb +29 -0
  351. data/examples/vector/write.rb +24 -0
  352. data/examples/vector/zip.rb +34 -0
  353. data/examples/wavelet/ecg.dat +256 -0
  354. data/examples/wavelet/wavelet1.rb +50 -0
  355. data/ext/extconf.rb +9 -0
  356. data/ext/gsl.c +10 -1
  357. data/ext/histogram.c +6 -2
  358. data/ext/integration.c +39 -0
  359. data/ext/matrix_complex.c +1 -1
  360. data/ext/multiset.c +214 -0
  361. data/ext/nmf.c +4 -0
  362. data/ext/nmf_wrap.c +3 -0
  363. data/ext/vector_complex.c +1 -1
  364. data/ext/vector_double.c +3 -3
  365. data/ext/vector_source.c +6 -6
  366. data/include/rb_gsl.h +7 -0
  367. data/include/rb_gsl_common.h +6 -0
  368. data/rdoc/alf.rdoc +77 -0
  369. data/rdoc/blas.rdoc +269 -0
  370. data/rdoc/bspline.rdoc +42 -0
  371. data/rdoc/changes.rdoc +164 -0
  372. data/rdoc/cheb.rdoc +99 -0
  373. data/rdoc/cholesky_complex.rdoc +46 -0
  374. data/rdoc/combi.rdoc +125 -0
  375. data/rdoc/complex.rdoc +210 -0
  376. data/rdoc/const.rdoc +546 -0
  377. data/rdoc/dht.rdoc +122 -0
  378. data/rdoc/diff.rdoc +133 -0
  379. data/rdoc/ehandling.rdoc +50 -0
  380. data/rdoc/eigen.rdoc +401 -0
  381. data/rdoc/fft.rdoc +535 -0
  382. data/rdoc/fit.rdoc +284 -0
  383. data/rdoc/function.rdoc +94 -0
  384. data/rdoc/graph.rdoc +137 -0
  385. data/rdoc/hist.rdoc +409 -0
  386. data/rdoc/hist2d.rdoc +279 -0
  387. data/rdoc/hist3d.rdoc +112 -0
  388. data/rdoc/index.rdoc +62 -0
  389. data/rdoc/integration.rdoc +398 -0
  390. data/rdoc/interp.rdoc +231 -0
  391. data/rdoc/intro.rdoc +27 -0
  392. data/rdoc/linalg.rdoc +681 -0
  393. data/rdoc/linalg_complex.rdoc +88 -0
  394. data/rdoc/math.rdoc +276 -0
  395. data/rdoc/matrix.rdoc +1093 -0
  396. data/rdoc/min.rdoc +189 -0
  397. data/rdoc/monte.rdoc +234 -0
  398. data/rdoc/multimin.rdoc +312 -0
  399. data/rdoc/multiroot.rdoc +293 -0
  400. data/rdoc/narray.rdoc +173 -0
  401. data/rdoc/ndlinear.rdoc +247 -0
  402. data/rdoc/nonlinearfit.rdoc +348 -0
  403. data/rdoc/ntuple.rdoc +88 -0
  404. data/rdoc/odeiv.rdoc +378 -0
  405. data/rdoc/perm.rdoc +221 -0
  406. data/rdoc/poly.rdoc +335 -0
  407. data/rdoc/qrng.rdoc +90 -0
  408. data/rdoc/randist.rdoc +233 -0
  409. data/rdoc/ref.rdoc +93 -0
  410. data/rdoc/rng.rdoc +203 -0
  411. data/rdoc/rngextra.rdoc +11 -0
  412. data/rdoc/roots.rdoc +305 -0
  413. data/rdoc/screenshot.rdoc +40 -0
  414. data/rdoc/sf.rdoc +1622 -0
  415. data/rdoc/siman.rdoc +89 -0
  416. data/rdoc/sort.rdoc +94 -0
  417. data/rdoc/start.rdoc +16 -0
  418. data/rdoc/stats.rdoc +219 -0
  419. data/rdoc/sum.rdoc +65 -0
  420. data/rdoc/tensor.rdoc +251 -0
  421. data/rdoc/tut.rdoc +5 -0
  422. data/rdoc/use.rdoc +177 -0
  423. data/rdoc/vector.rdoc +1243 -0
  424. data/rdoc/vector_complex.rdoc +347 -0
  425. data/rdoc/wavelet.rdoc +218 -0
  426. data/setup.rb +1585 -0
  427. data/tests/blas/amax.rb +14 -0
  428. data/tests/blas/asum.rb +16 -0
  429. data/tests/blas/axpy.rb +25 -0
  430. data/tests/blas/copy.rb +23 -0
  431. data/tests/blas/dot.rb +23 -0
  432. data/tests/bspline.rb +53 -0
  433. data/tests/cdf.rb +1388 -0
  434. data/tests/cheb.rb +112 -0
  435. data/tests/combination.rb +123 -0
  436. data/tests/complex.rb +17 -0
  437. data/tests/const.rb +24 -0
  438. data/tests/deriv.rb +85 -0
  439. data/tests/dht/dht1.rb +17 -0
  440. data/tests/dht/dht2.rb +23 -0
  441. data/tests/dht/dht3.rb +23 -0
  442. data/tests/dht/dht4.rb +23 -0
  443. data/tests/diff.rb +78 -0
  444. data/tests/eigen/eigen.rb +220 -0
  445. data/tests/eigen/gen.rb +105 -0
  446. data/tests/eigen/genherm.rb +66 -0
  447. data/tests/eigen/gensymm.rb +68 -0
  448. data/tests/eigen/nonsymm.rb +53 -0
  449. data/tests/eigen/nonsymmv.rb +53 -0
  450. data/tests/eigen/symm-herm.rb +74 -0
  451. data/tests/err.rb +58 -0
  452. data/tests/fit.rb +124 -0
  453. data/tests/gsl_test.rb +118 -0
  454. data/tests/gsl_test2.rb +107 -0
  455. data/tests/histo.rb +12 -0
  456. data/tests/integration/integration1.rb +72 -0
  457. data/tests/integration/integration2.rb +71 -0
  458. data/tests/integration/integration3.rb +71 -0
  459. data/tests/integration/integration4.rb +71 -0
  460. data/tests/interp.rb +45 -0
  461. data/tests/linalg/HH.rb +64 -0
  462. data/tests/linalg/LU.rb +47 -0
  463. data/tests/linalg/QR.rb +77 -0
  464. data/tests/linalg/SV.rb +24 -0
  465. data/tests/linalg/TDN.rb +116 -0
  466. data/tests/linalg/TDS.rb +122 -0
  467. data/tests/linalg/bidiag.rb +73 -0
  468. data/tests/linalg/cholesky.rb +20 -0
  469. data/tests/linalg/linalg.rb +158 -0
  470. data/tests/matrix/matrix_nmf_test.rb +39 -0
  471. data/tests/matrix/matrix_test.rb +48 -0
  472. data/tests/min.rb +99 -0
  473. data/tests/monte/miser.rb +31 -0
  474. data/tests/monte/vegas.rb +45 -0
  475. data/tests/multifit/test_2dgauss.rb +112 -0
  476. data/tests/multifit/test_brown.rb +90 -0
  477. data/tests/multifit/test_enso.rb +246 -0
  478. data/tests/multifit/test_filip.rb +155 -0
  479. data/tests/multifit/test_gauss.rb +97 -0
  480. data/tests/multifit/test_longley.rb +110 -0
  481. data/tests/multifit/test_multifit.rb +52 -0
  482. data/tests/multimin.rb +139 -0
  483. data/tests/multiroot.rb +131 -0
  484. data/tests/multiset.rb +52 -0
  485. data/tests/odeiv.rb +353 -0
  486. data/tests/poly/poly.rb +242 -0
  487. data/tests/poly/special.rb +65 -0
  488. data/tests/qrng.rb +131 -0
  489. data/tests/quartic.rb +29 -0
  490. data/tests/randist.rb +134 -0
  491. data/tests/rng.rb +305 -0
  492. data/tests/roots.rb +76 -0
  493. data/tests/run-test.sh +17 -0
  494. data/tests/sf/gsl_test_sf.rb +249 -0
  495. data/tests/sf/test_airy.rb +83 -0
  496. data/tests/sf/test_bessel.rb +306 -0
  497. data/tests/sf/test_coulomb.rb +17 -0
  498. data/tests/sf/test_dilog.rb +25 -0
  499. data/tests/sf/test_gamma.rb +209 -0
  500. data/tests/sf/test_hyperg.rb +356 -0
  501. data/tests/sf/test_legendre.rb +227 -0
  502. data/tests/sf/test_mathieu.rb +59 -0
  503. data/tests/sf/test_sf.rb +839 -0
  504. data/tests/stats.rb +174 -0
  505. data/tests/sum.rb +98 -0
  506. data/tests/sys.rb +323 -0
  507. data/tests/tensor.rb +419 -0
  508. data/tests/vector/vector_complex_test.rb +101 -0
  509. data/tests/vector/vector_test.rb +141 -0
  510. data/tests/wavelet.rb +142 -0
  511. metadata +596 -15
data/AUTHORS ADDED
@@ -0,0 +1,6 @@
1
+ Yoshiki Tsunesada
2
+ y-tsunesada@mm.em-net.ne.jp
3
+ David MacMahon
4
+ davidm@astro.berkeley.edu
5
+
6
+
data/COPYING ADDED
@@ -0,0 +1,339 @@
1
+ GNU GENERAL PUBLIC LICENSE
2
+ Version 2, June 1991
3
+
4
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.
5
+ 675 Mass Ave, Cambridge, MA 02139, USA
6
+ Everyone is permitted to copy and distribute verbatim copies
7
+ of this license document, but changing it is not allowed.
8
+
9
+ Preamble
10
+
11
+ The licenses for most software are designed to take away your
12
+ freedom to share and change it. By contrast, the GNU General Public
13
+ License is intended to guarantee your freedom to share and change free
14
+ software--to make sure the software is free for all its users. This
15
+ General Public License applies to most of the Free Software
16
+ Foundation's software and to any other program whose authors commit to
17
+ using it. (Some other Free Software Foundation software is covered by
18
+ the GNU Library General Public License instead.) You can apply it to
19
+ your programs, too.
20
+
21
+ When we speak of free software, we are referring to freedom, not
22
+ price. Our General Public Licenses are designed to make sure that you
23
+ have the freedom to distribute copies of free software (and charge for
24
+ this service if you wish), that you receive source code or can get it
25
+ if you want it, that you can change the software or use pieces of it
26
+ in new free programs; and that you know you can do these things.
27
+
28
+ To protect your rights, we need to make restrictions that forbid
29
+ anyone to deny you these rights or to ask you to surrender the rights.
30
+ These restrictions translate to certain responsibilities for you if you
31
+ distribute copies of the software, or if you modify it.
32
+
33
+ For example, if you distribute copies of such a program, whether
34
+ gratis or for a fee, you must give the recipients all the rights that
35
+ you have. You must make sure that they, too, receive or can get the
36
+ source code. And you must show them these terms so they know their
37
+ rights.
38
+
39
+ We protect your rights with two steps: (1) copyright the software, and
40
+ (2) offer you this license which gives you legal permission to copy,
41
+ distribute and/or modify the software.
42
+
43
+ Also, for each author's protection and ours, we want to make certain
44
+ that everyone understands that there is no warranty for this free
45
+ software. If the software is modified by someone else and passed on, we
46
+ want its recipients to know that what they have is not the original, so
47
+ that any problems introduced by others will not reflect on the original
48
+ authors' reputations.
49
+
50
+ Finally, any free program is threatened constantly by software
51
+ patents. We wish to avoid the danger that redistributors of a free
52
+ program will individually obtain patent licenses, in effect making the
53
+ program proprietary. To prevent this, we have made it clear that any
54
+ patent must be licensed for everyone's free use or not licensed at all.
55
+
56
+ The precise terms and conditions for copying, distribution and
57
+ modification follow.
58
+
59
+ GNU GENERAL PUBLIC LICENSE
60
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
61
+
62
+ 0. This License applies to any program or other work which contains
63
+ a notice placed by the copyright holder saying it may be distributed
64
+ under the terms of this General Public License. The "Program", below,
65
+ refers to any such program or work, and a "work based on the Program"
66
+ means either the Program or any derivative work under copyright law:
67
+ that is to say, a work containing the Program or a portion of it,
68
+ either verbatim or with modifications and/or translated into another
69
+ language. (Hereinafter, translation is included without limitation in
70
+ the term "modification".) Each licensee is addressed as "you".
71
+
72
+ Activities other than copying, distribution and modification are not
73
+ covered by this License; they are outside its scope. The act of
74
+ running the Program is not restricted, and the output from the Program
75
+ is covered only if its contents constitute a work based on the
76
+ Program (independent of having been made by running the Program).
77
+ Whether that is true depends on what the Program does.
78
+
79
+ 1. You may copy and distribute verbatim copies of the Program's
80
+ source code as you receive it, in any medium, provided that you
81
+ conspicuously and appropriately publish on each copy an appropriate
82
+ copyright notice and disclaimer of warranty; keep intact all the
83
+ notices that refer to this License and to the absence of any warranty;
84
+ and give any other recipients of the Program a copy of this License
85
+ along with the Program.
86
+
87
+ You may charge a fee for the physical act of transferring a copy, and
88
+ you may at your option offer warranty protection in exchange for a fee.
89
+
90
+ 2. You may modify your copy or copies of the Program or any portion
91
+ of it, thus forming a work based on the Program, and copy and
92
+ distribute such modifications or work under the terms of Section 1
93
+ above, provided that you also meet all of these conditions:
94
+
95
+ a) You must cause the modified files to carry prominent notices
96
+ stating that you changed the files and the date of any change.
97
+
98
+ b) You must cause any work that you distribute or publish, that in
99
+ whole or in part contains or is derived from the Program or any
100
+ part thereof, to be licensed as a whole at no charge to all third
101
+ parties under the terms of this License.
102
+
103
+ c) If the modified program normally reads commands interactively
104
+ when run, you must cause it, when started running for such
105
+ interactive use in the most ordinary way, to print or display an
106
+ announcement including an appropriate copyright notice and a
107
+ notice that there is no warranty (or else, saying that you provide
108
+ a warranty) and that users may redistribute the program under
109
+ these conditions, and telling the user how to view a copy of this
110
+ License. (Exception: if the Program itself is interactive but
111
+ does not normally print such an announcement, your work based on
112
+ the Program is not required to print an announcement.)
113
+
114
+ These requirements apply to the modified work as a whole. If
115
+ identifiable sections of that work are not derived from the Program,
116
+ and can be reasonably considered independent and separate works in
117
+ themselves, then this License, and its terms, do not apply to those
118
+ sections when you distribute them as separate works. But when you
119
+ distribute the same sections as part of a whole which is a work based
120
+ on the Program, the distribution of the whole must be on the terms of
121
+ this License, whose permissions for other licensees extend to the
122
+ entire whole, and thus to each and every part regardless of who wrote it.
123
+
124
+ Thus, it is not the intent of this section to claim rights or contest
125
+ your rights to work written entirely by you; rather, the intent is to
126
+ exercise the right to control the distribution of derivative or
127
+ collective works based on the Program.
128
+
129
+ In addition, mere aggregation of another work not based on the Program
130
+ with the Program (or with a work based on the Program) on a volume of
131
+ a storage or distribution medium does not bring the other work under
132
+ the scope of this License.
133
+
134
+ 3. You may copy and distribute the Program (or a work based on it,
135
+ under Section 2) in object code or executable form under the terms of
136
+ Sections 1 and 2 above provided that you also do one of the following:
137
+
138
+ a) Accompany it with the complete corresponding machine-readable
139
+ source code, which must be distributed under the terms of Sections
140
+ 1 and 2 above on a medium customarily used for software interchange; or,
141
+
142
+ b) Accompany it with a written offer, valid for at least three
143
+ years, to give any third party, for a charge no more than your
144
+ cost of physically performing source distribution, a complete
145
+ machine-readable copy of the corresponding source code, to be
146
+ distributed under the terms of Sections 1 and 2 above on a medium
147
+ customarily used for software interchange; or,
148
+
149
+ c) Accompany it with the information you received as to the offer
150
+ to distribute corresponding source code. (This alternative is
151
+ allowed only for noncommercial distribution and only if you
152
+ received the program in object code or executable form with such
153
+ an offer, in accord with Subsection b above.)
154
+
155
+ The source code for a work means the preferred form of the work for
156
+ making modifications to it. For an executable work, complete source
157
+ code means all the source code for all modules it contains, plus any
158
+ associated interface definition files, plus the scripts used to
159
+ control compilation and installation of the executable. However, as a
160
+ special exception, the source code distributed need not include
161
+ anything that is normally distributed (in either source or binary
162
+ form) with the major components (compiler, kernel, and so on) of the
163
+ operating system on which the executable runs, unless that component
164
+ itself accompanies the executable.
165
+
166
+ If distribution of executable or object code is made by offering
167
+ access to copy from a designated place, then offering equivalent
168
+ access to copy the source code from the same place counts as
169
+ distribution of the source code, even though third parties are not
170
+ compelled to copy the source along with the object code.
171
+
172
+ 4. You may not copy, modify, sublicense, or distribute the Program
173
+ except as expressly provided under this License. Any attempt
174
+ otherwise to copy, modify, sublicense or distribute the Program is
175
+ void, and will automatically terminate your rights under this License.
176
+ However, parties who have received copies, or rights, from you under
177
+ this License will not have their licenses terminated so long as such
178
+ parties remain in full compliance.
179
+
180
+ 5. You are not required to accept this License, since you have not
181
+ signed it. However, nothing else grants you permission to modify or
182
+ distribute the Program or its derivative works. These actions are
183
+ prohibited by law if you do not accept this License. Therefore, by
184
+ modifying or distributing the Program (or any work based on the
185
+ Program), you indicate your acceptance of this License to do so, and
186
+ all its terms and conditions for copying, distributing or modifying
187
+ the Program or works based on it.
188
+
189
+ 6. Each time you redistribute the Program (or any work based on the
190
+ Program), the recipient automatically receives a license from the
191
+ original licensor to copy, distribute or modify the Program subject to
192
+ these terms and conditions. You may not impose any further
193
+ restrictions on the recipients' exercise of the rights granted herein.
194
+ You are not responsible for enforcing compliance by third parties to
195
+ this License.
196
+
197
+ 7. If, as a consequence of a court judgment or allegation of patent
198
+ infringement or for any other reason (not limited to patent issues),
199
+ conditions are imposed on you (whether by court order, agreement or
200
+ otherwise) that contradict the conditions of this License, they do not
201
+ excuse you from the conditions of this License. If you cannot
202
+ distribute so as to satisfy simultaneously your obligations under this
203
+ License and any other pertinent obligations, then as a consequence you
204
+ may not distribute the Program at all. For example, if a patent
205
+ license would not permit royalty-free redistribution of the Program by
206
+ all those who receive copies directly or indirectly through you, then
207
+ the only way you could satisfy both it and this License would be to
208
+ refrain entirely from distribution of the Program.
209
+
210
+ If any portion of this section is held invalid or unenforceable under
211
+ any particular circumstance, the balance of the section is intended to
212
+ apply and the section as a whole is intended to apply in other
213
+ circumstances.
214
+
215
+ It is not the purpose of this section to induce you to infringe any
216
+ patents or other property right claims or to contest validity of any
217
+ such claims; this section has the sole purpose of protecting the
218
+ integrity of the free software distribution system, which is
219
+ implemented by public license practices. Many people have made
220
+ generous contributions to the wide range of software distributed
221
+ through that system in reliance on consistent application of that
222
+ system; it is up to the author/donor to decide if he or she is willing
223
+ to distribute software through any other system and a licensee cannot
224
+ impose that choice.
225
+
226
+ This section is intended to make thoroughly clear what is believed to
227
+ be a consequence of the rest of this License.
228
+
229
+ 8. If the distribution and/or use of the Program is restricted in
230
+ certain countries either by patents or by copyrighted interfaces, the
231
+ original copyright holder who places the Program under this License
232
+ may add an explicit geographical distribution limitation excluding
233
+ those countries, so that distribution is permitted only in or among
234
+ countries not thus excluded. In such case, this License incorporates
235
+ the limitation as if written in the body of this License.
236
+
237
+ 9. The Free Software Foundation may publish revised and/or new versions
238
+ of the General Public License from time to time. Such new versions will
239
+ be similar in spirit to the present version, but may differ in detail to
240
+ address new problems or concerns.
241
+
242
+ Each version is given a distinguishing version number. If the Program
243
+ specifies a version number of this License which applies to it and "any
244
+ later version", you have the option of following the terms and conditions
245
+ either of that version or of any later version published by the Free
246
+ Software Foundation. If the Program does not specify a version number of
247
+ this License, you may choose any version ever published by the Free Software
248
+ Foundation.
249
+
250
+ 10. If you wish to incorporate parts of the Program into other free
251
+ programs whose distribution conditions are different, write to the author
252
+ to ask for permission. For software which is copyrighted by the Free
253
+ Software Foundation, write to the Free Software Foundation; we sometimes
254
+ make exceptions for this. Our decision will be guided by the two goals
255
+ of preserving the free status of all derivatives of our free software and
256
+ of promoting the sharing and reuse of software generally.
257
+
258
+ NO WARRANTY
259
+
260
+ 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
261
+ FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
262
+ OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
263
+ PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
264
+ OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
265
+ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
266
+ TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
267
+ PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
268
+ REPAIR OR CORRECTION.
269
+
270
+ 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
271
+ WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
272
+ REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
273
+ INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
274
+ OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
275
+ TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
276
+ YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
277
+ PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
278
+ POSSIBILITY OF SUCH DAMAGES.
279
+
280
+ END OF TERMS AND CONDITIONS
281
+
282
+ Appendix: How to Apply These Terms to Your New Programs
283
+
284
+ If you develop a new program, and you want it to be of the greatest
285
+ possible use to the public, the best way to achieve this is to make it
286
+ free software which everyone can redistribute and change under these terms.
287
+
288
+ To do so, attach the following notices to the program. It is safest
289
+ to attach them to the start of each source file to most effectively
290
+ convey the exclusion of warranty; and each file should have at least
291
+ the "copyright" line and a pointer to where the full notice is found.
292
+
293
+ <one line to give the program's name and a brief idea of what it does.>
294
+ Copyright (C) 19yy <name of author>
295
+
296
+ This program is free software; you can redistribute it and/or modify
297
+ it under the terms of the GNU General Public License as published by
298
+ the Free Software Foundation; either version 2 of the License, or
299
+ (at your option) any later version.
300
+
301
+ This program is distributed in the hope that it will be useful,
302
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
303
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
304
+ GNU General Public License for more details.
305
+
306
+ You should have received a copy of the GNU General Public License
307
+ along with this program; if not, write to the Free Software
308
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
309
+
310
+ Also add information on how to contact you by electronic and paper mail.
311
+
312
+ If the program is interactive, make it output a short notice like this
313
+ when it starts in an interactive mode:
314
+
315
+ Gnomovision version 69, Copyright (C) 19yy name of author
316
+ Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
317
+ This is free software, and you are welcome to redistribute it
318
+ under certain conditions; type `show c' for details.
319
+
320
+ The hypothetical commands `show w' and `show c' should show the appropriate
321
+ parts of the General Public License. Of course, the commands you use may
322
+ be called something other than `show w' and `show c'; they could even be
323
+ mouse-clicks or menu items--whatever suits your program.
324
+
325
+ You should also get your employer (if you work as a programmer) or your
326
+ school, if any, to sign a "copyright disclaimer" for the program, if
327
+ necessary. Here is a sample; alter the names:
328
+
329
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the program
330
+ `Gnomovision' (which makes passes at compilers) written by James Hacker.
331
+
332
+ <signature of Ty Coon>, 1 April 1989
333
+ Ty Coon, President of Vice
334
+
335
+ This General Public License does not permit incorporating your program into
336
+ proprietary programs. If your program is a subroutine library, you may
337
+ consider it more useful to permit linking proprietary applications with the
338
+ library. If this is what you want to do, use the GNU Library General
339
+ Public License instead of this License.
@@ -0,0 +1,556 @@
1
+ Sun Nov 14 17:01:07 PST 2010
2
+ * Ruby/GSL 1.14.5
3
+ * Convert docs from rdtool to rdoc
4
+ * Fix object id handling bugs on 64-bit systems
5
+ * Fix Vector's handling of Range parameters
6
+
7
+ Wed Sep 29 00:37:44 BOT 2010
8
+ * Modification for ruby-1.9.2
9
+ * Replaced STR2CSTR to StringValuePtr
10
+
11
+ Mon Mar 22 23:54:07 MDT 2010
12
+ * GSL-1.14 support
13
+ * Added GSL::Multiset class
14
+ * Added GSL::Function#glfixed(a, b table)
15
+
16
+ Sun Aug 16 19:01:31 BOT 2009
17
+ * Added Non-negative Matrix Factorization (NMF) support (by Roman Shterenzon)
18
+
19
+ Sat Aug 8 22:36:24 BOT 2009
20
+ * Added GSL-1.13 features:
21
+ * Added GSL::Monte::Miser#params_get, GSL::Monte::Vegas#params_get
22
+ * Added GSL::BSpline::greville_abscissa(i)
23
+ * Added GSL::Poly#eval_derivs(x)
24
+ * Added a new minimization algorithm "quad_golden"
25
+ * Added a new multimin algorithm "nmsimplex2rand"
26
+
27
+ Tue Jun 9 10:42:30 JST 2009
28
+ * Fixed bug in linalg.c (bug [#25842])
29
+
30
+ Thu Feb 2 12:16:38 JST 2009
31
+ * Fixed a bug in GSL::Histogram.alloc_uniform() (bug [#23040])
32
+ * Fixed a bug in GSL::Vector#/ (bug [#23334])
33
+
34
+ Thu Nov 6 17:34:18 JST 2008
35
+ * Match with the tensor extension version 0.99
36
+ * now not compatible for the versions older than tensor-0.97.
37
+
38
+ Sat Jul 26 08:23:45 JST 2008
39
+ * GSL::Poly.eval now handles complex numbers (GSL-1.11)
40
+ * Added new quasi-random generators "halton" and "reversehalton"
41
+ * Added a module function GSL::MultiFit::linear_residuals() (GSL-1.11)
42
+ * Fixed a bug in ODE solver
43
+
44
+ Mon Jun 30 22:07:24 JST 2008
45
+ * Fixed GSL::Vector#normalize (#20865)
46
+
47
+ Mon May 26 19:21:15 JST 2008
48
+ * Fixed a bug in GSL::Matrix::to_v (#19757)
49
+ * Fixed a bug in GSL::Vector::Int multiplication (#19924)
50
+
51
+ Sat Dec 8 23:44:47 2007
52
+ * Version 1.10.3
53
+
54
+ Tue Dec 2 16:30:15 2007
55
+ * Improved GSL::Vector#get for a Range arg
56
+ * Improved GSL::Vector#concat for an Array arg
57
+ * Fixed a bug in GSL::Matrix.alloc with column vector arguments
58
+
59
+ Thu Dec 2 10:58:37 2007
60
+ * Added methods GSL::Vector#pow(p), GSL::Vector#pow!(p)
61
+
62
+ Wed Oct 17 04:04:39 2007
63
+ * Fixed a bug in poly_source.c
64
+
65
+ Sun Oct 7 14:18:31 2007
66
+ * Version 1.10.0
67
+ * ndlinear extension support
68
+
69
+ Sat Sep 22 01:49:57 2007
70
+ Added GSL-1.10 features
71
+ * Added generalized eigensystem methods
72
+ * Added method GSL::Stats::correlation(v1, v2) to compute
73
+ Pearson correlation of two datasets
74
+ * Added methods GSL::Sf::expint_En(n, x), GSL::Sf::expint_En_e(n, x)
75
+ for computing the n-th order exponential integral.
76
+ * Added methods GSL::Vector#isnonneg, GSL::Vector#isnonneg?,
77
+ GSL::Matrix#isnonneg, and GSL::Matrix#isnonneg?
78
+ * Added methods GSL::Matrix#subrow, GSL::Matrix#subcolumn
79
+ * Added methods GSL::Linalg::Chomplex::Cholesky::decomp,
80
+ GSL::Linalg::Chomplex::Cholesky::solve,
81
+ and GSL::Linalg::Chomplex::Cholesky::svx
82
+ * Added method GSL::hypot3(x, y, z)
83
+
84
+ Sat Aug 11 00:45:48 2007
85
+ * Modified ext/extconf.rb: Check gsl_stats_correlation()
86
+
87
+ Sun Aug 5 15:46:51 2007
88
+ * Improved GSL::Vector::filescan()
89
+ Tue May 15 13:35:49 2007
90
+ * Fixed a bug in Vector#get (Thank to Daigo Moriwaki)
91
+
92
+ Sun Feb 18 00:08:15 2007
93
+ * Completed GSL-1.8.90 features
94
+ * Change names "unsymm" ---> "nonsymm" for non-symmetric eigen systems
95
+ * Added Mathieu functions
96
+ * Added Vector#ispos, isneg
97
+ * Added knuthran2002 generator
98
+ * Added a new minimization method GSL::MultiMin::FdfMinimizer::BFGS2
99
+
100
+ Sun Dec 31 01:34:29 2006
101
+ * Remove the module function GSL::equal?, which breaks the Ruby policy.
102
+
103
+ Sun Dec 24 16:51:34 2006
104
+ * Added Basis splines
105
+ * CQP and Bundle extentions support
106
+
107
+ Wed Dec 13 01:02:09 2006
108
+ * OOL extension support (OOL version 0.2)
109
+ * OOL: Open Optimization Library
110
+
111
+ Mon Dec 11 01:04:19 2006
112
+ * Add a quasi-random sequence generator hdsobol
113
+ (require the qrngextra extension)
114
+
115
+ Tue Sep 26 18:58:26 BOT 2006
116
+ * Fixed a bug in GSL::Vector#*
117
+
118
+ Sun Sep 24 10:37:49 BOT 2006
119
+ * Fixed a bug in GSL::Matrix.vandermonde()
120
+ * Added methods GSL::Vector#join, zip, cumsum, cumprod
121
+
122
+ Thu Sep 21 20:03:39 BOT 2006
123
+ * Added methods to calculate eigenvectors of nonsymmetric matrices
124
+ * Added test scripts tests/eigen/unsymm.rb, tests/eigen/unsymmv.rb
125
+
126
+ Wed Aug 23 00:51:12 BOT 2006
127
+ * Added methods to calculate eigenvalues of nonsymmetric matrices
128
+
129
+ Fri Aug 18 20:47:05 BOT 2006
130
+ * Fixed bug in Sf::hypot
131
+
132
+ Sat Apr 29 12:29:10 JST 2006
133
+ * Applied patch provided by Cameron McBride, to fix a bug in
134
+ randist.c
135
+ * Applied patched by zunda to fix some test/ scripts.
136
+
137
+ Thu Apr 13 22:21:02 JST 2006
138
+ * Version 1.8.0
139
+ * Added cumulative distribution functions under the module GSL::Cdf:
140
+ binomial, poisson, geometric, negative binomial, pascal and hypergeometric.
141
+ * Added module functions GSL::Cdf::beta_Pinv, beta_Qinv, fdist_Pinv, and
142
+ fdist_Qinv.
143
+ * Added the multilinear fit estimator function GSL::MultiFit::linear_est.
144
+ * Added new random variate generators,
145
+ GSL::Ran::gaussian_ziggurat and gamma_mt.
146
+ * Added Debye functions for n=5 and n=6, as
147
+ GSL::Sf::debye_5 and debye_6.
148
+ * Added GSL::Spline#min_size
149
+ * Added the Debye unit to physical constants.
150
+
151
+ Fri Dec 2 19:05:30 JST 2005
152
+ * Singleton method "new" ---> "alloc"
153
+
154
+ Sun Nov 27 14:01:12 JST 2005
155
+ * Apply patch by zunda to improve multifit.
156
+ * Fix bug in dirac.c
157
+
158
+ Tue Apr 3 JST 2005
159
+ * Added Vector#collect!, Matrix#collect!
160
+ * Added lib/rbgsl.rb, in which the GSL module is not included by default
161
+
162
+ Wed Apr 27 21:21:58 JST 2005
163
+ * The following Linalg methods now can handle NArray objects:
164
+ * GSL::Linalg::
165
+ * LU.decomp(m)
166
+ * LU.solve(lu, b)
167
+ * LU.svx(lu, bx)
168
+ * LU.det(lu, sign)
169
+ * LU.lndet(lu)
170
+ * LU.invert(lu, perm)
171
+ * QR.decomp(m)
172
+ * QR.solve(qr, tau, b)
173
+ * QR.svx(qr, tau, bx)
174
+ * SV.decomp(m)
175
+ * SV.solve(u, v, s, b)
176
+ * SV.svx(u, v, s, bx)
177
+ * Cholesky.decomp(m)
178
+ * Cholesky.solve(u, v, s, b)
179
+ * Cholesky.svx(u, v, s, bx)
180
+ * HH.solve(m, b)
181
+ * HH.svx(m, bx)
182
+
183
+ Mon Apr 18 23:27:16 JST 2005
184
+ * Improved gsl_narray.c (thanks to T. Horinouchi)
185
+ * Modified extconf.rb
186
+ * Automatic finding of NArray
187
+ * Applied a patch by zunda
188
+
189
+ Thu Apr 7 18:26:08 JST 2005
190
+ * Modified extconf.rb
191
+
192
+ Mon Mar 21 23:17:56 JST 2005
193
+ * Version 1.6.2
194
+
195
+ Sat Mar 19 01:00:15 JST 2005
196
+ * Fixed Blas.dgemm, .zgemm
197
+ * Fixed method re-definitions
198
+
199
+ Tue Mar 15 23:20:15 JST 2005
200
+ * Added class GSL::Block::Byte, GSL::Block::Index
201
+ * Added NArray-like methods, Vector#eq, ne, gt, where, any? etc.
202
+ * Added methods Vector#floor, Vector#ceil,
203
+ and Vector#round (if the system has)
204
+
205
+ Sat Mar 12 14:49:47 JST 2005
206
+ * Fixed Vector#get
207
+
208
+ Sat Feb 26 11:18:22 JST 2005
209
+ * Ruby 1.9.0 support
210
+
211
+ Sat Feb 5 03:24:28 JST 2005
212
+ * Version 1.6.1
213
+
214
+ Wed Jan 26 23:28:07 JST 2005
215
+ * Added in-place FFT methods
216
+ * Fixed FFT document
217
+
218
+ Thu Jan 20 00:55:26 JST 2005
219
+ * Added Vector#decimate, Vector#diff
220
+ * Added Matrix#rot90
221
+ * Fixed Matrix::Complex
222
+
223
+ Thu Jan 06 18:46:02 JST 2005
224
+ * Some methods which receive GSL::Vector now can also manipulate
225
+ NArray objects.
226
+ * Special functions
227
+ * Probability distributions
228
+ * Statistics
229
+ * FFTs
230
+ * Wavelet transforms
231
+ * Interpolations
232
+ * Serices accelerations
233
+ * Added method Vector#decimate
234
+ * Sf::exp now can receive Complex or Vector::Complex
235
+
236
+ Tue Jan 04
237
+ * Version 1.6.0
238
+
239
+ Thu Dec 30 04:34:14 JST 2004 Yoshiki Tsunesada
240
+ * Update for GSL-1.5.90
241
+ * Added Sf::psi_1
242
+ * Added ODE stepper rk2simp
243
+ * Added LQ, PTLQ decompositions
244
+ * Added methods Cdf::exppow_P, Cdf::exppow_Q
245
+
246
+ Mon Dec 27 22:19:55 JST 2004 Yoshiki Tsunesada
247
+ * All Ruby/GSL classes are defined as derivatives of the base class
248
+ GSL::Object.
249
+ * Defined the method GSL::Object#info
250
+ * Added Vector#histogram
251
+ * Added Vector.filescan
252
+ * Modified the methods Histogram#increment, accumulate
253
+ * Added methods Poly.fit, Poly.wfit, MultiFit.polyfit
254
+ * Added methods Vector::Complex#abs2, abs, arg
255
+ * Modified FFT methods: now they return FFTed data as a new vector,
256
+ and do not destroy the input vector.
257
+
258
+ Sat Dec 11 21:45:30 JST 2004 Yoshiki Tsunesada
259
+ * Modified Histogram#integral
260
+
261
+ Fri Dec 10 14:28:38 JST 2004 Yoshiki Tsunesada
262
+ * Added methods Histogram#reverse, Histogram2d#integrate,
263
+ Histogram2d#normalize
264
+
265
+ Mon Dec 6 01:15:03 JST 2004 Yoshiki Tsunesada
266
+ * Version 1.5.4
267
+
268
+ Fri Dec 3 22:33:46 JST 2004 Yoshiki Tsunesada
269
+ * Added Histogram#rebin
270
+
271
+ Fri Nov 26 21:17:17 JST 2004 Yoshiki Tsunesada
272
+ * Added method Vector#to_m
273
+ * Added methods Matrix#reverse_rows, Matrix#reverse_columns
274
+
275
+ Tue Nov 16 23:35:27 JST 2004 Yoshiki Tsunesada
276
+ * The method Matrix#** is now obsolete, use "*"
277
+ for matrix multiplication instead.
278
+ * Improved Matrix#* and Vetor#*
279
+ * Added methods Vector#to_m_diagonal, Vector#to_m_circulant,
280
+ Vector#collect
281
+ * Added methods Matrix.hilbert, Matrix.invhilbert, Matrix.pascal,
282
+ Matrix.vandermonde, Matrix.toeplitz, Matrix.circulant
283
+ * Added methods Vector.indgen, Vector#indgen,
284
+ Matrix.indgen, Matrix#indgen (mimics NArray)
285
+ * Added class GSL::Histogram3d
286
+ * Checked GSL lower version compatibilities
287
+ * gsl-1.0 ~ gsl-1.5: OK
288
+ * gsl-0.9.4: OK
289
+ * gsl-0.9.3 or older: not tested
290
+ * gsl-1.6 (development version, CVS Nov2004): OK
291
+
292
+ Sun Nov 7 00:56:11 JST 2004 Yoshiki Tsunesada
293
+ * Support the gsl_tensor package
294
+ * http://sources.redhat.com/ml/gsl-discuss/2004-q4/msg00053.html
295
+ * Added class GSL::Tensor, GSL::Tensor::Int
296
+ * The methods Vector#get, Vector#[] now receive multiple
297
+ arguments, or an Array, or a Range object.
298
+
299
+ Thu Nov 4 21:13:38 JST 2004 Yoshiki Tsunesada
300
+ * Added class GSL::Histogram::Integral, which represents the
301
+ cumulative distribution.
302
+ * Added method GSL::Histogram#integrate, which creates a
303
+ GSL::Histogram::Integral object.
304
+ * Added methods GSL::Histogram2d#xproject, yproject, normalize, increment2.
305
+
306
+ Sun Oct 31 02:34:28 JST 2004 Yoshiki Tsunesada
307
+ * Fix the document for Polynomials
308
+ * Added methods Poly::hermite(n), Poly::cheb(n), and Poly::cheb_II(n) etc..
309
+ * Added method Poly#compan, which returns the companion matrix.
310
+ * The method Matrix#/ is improved: if a Vector is given, this method
311
+ solves the linear system.
312
+
313
+ Mon Oct 25 01:25:12 JST 2004 Yoshiki Tsunesada
314
+ * Split the source file "randist.c" into "randist.c" and "cdf.c"
315
+ * Split the source file "diff.c" into "diff.c" and "deriv.c"
316
+ * Split the source file "interp.c" into "interp.c" and "spline.c"
317
+ * Added methods Vector#abs, sqrt, square, normalize
318
+ * Added sample scripts odeiv/frei1.rb, fft/frei2.rb
319
+ and eigen/qhoscillator.rb, which deal with quantum mechanical
320
+ calculations. These are translated from the C++ code in the
321
+ Harald Wiedemann's textbook "Numerische Physik"
322
+ (Springer 2004, ISBN 3-540-40774-X).
323
+
324
+ Sat Oct 23 19:08:02 JST 2004 Yoshiki Tsunesada
325
+ * Added a method GSL::Vector#logspace2. The following two are
326
+ equivalent:
327
+ v1 = Vector.logspace(1, 3, 5)
328
+ v2 = Vector.logspace2(10, 1000, 5)
329
+
330
+ Tue Oct 19 23:23:38 JST 2004 Yoshiki Tsunesada
331
+ * Support the rngextra package
332
+ * http://www.network-theory.co.uk/download/rngextra/
333
+ * Added two random number generators "rngextra_rng1" and "rngextra_rng2"
334
+ * Fixed a bug in the method Vector#subvector_with_stride
335
+
336
+ Mon Oct 18 22:22:21 JST 2004 Yoshiki Tsunesada
337
+ * Added a sample script dht.rb
338
+
339
+ Fri Oct 8 23:09:00 JST 2004 Yoshiki Tsunesada
340
+ * Version 1.5.3
341
+
342
+ Thu Oct 7 22:47:59 JST 2004 Yoshiki Tsunesada
343
+ * The methods Vector.graph and GSL::graph improved.
344
+ * Added sample scripts of special functions and probability distribution
345
+ functions.
346
+
347
+ Sat Oct 2 23:13:49 JST 2004 Yoshiki Tsunesada
348
+ * Discrete wavelet transform (experimental)
349
+ * Presently this is only for CVS trackers,
350
+ since DWT is not supported in the latest version GSL-1.5.
351
+ * Added methods Vector.connect, Vector#connect
352
+
353
+ Thu Sep 30 22:56:47 JST 2004 Yoshiki Tsunesada
354
+ * The methods Vector#[] and Vector#[]= accept an index of
355
+ negative integer. For example, v[-1] returns the last element
356
+ of the vector v, v[-2] does the second last, and so on.
357
+
358
+ Fri Sep 24 21:52:06 JST 2004 Yoshiki Tsunesada
359
+ * Fixed bug in Sf::legendre_Ql
360
+
361
+ Wed Sep 1 19:02:42 JST 2004 Yoshiki Tsunesada
362
+ * Version 1.5.2
363
+
364
+ Fri Aug 27 03:18:46 JST 2004 Yoshiki Tsunesada
365
+ * Experimental implementation of GNU plotutils graph and GNUPLOT interfaces
366
+ * Added unary minus operators for GSL::Vector, GSL::Matrix
367
+
368
+ Thu Aug 19 14:28:08 JST 2004 Yoshiki Tsunesada
369
+ * Added class GSL::Matrix::Int
370
+ * Correct descriptions of GSL::Matrix#get_row, get_col
371
+ * Changed behaviour of methods NArray#to_gv, NArray#to_gm,
372
+ added methods NArray#to_gv_view, NArray#to_gm_view
373
+
374
+ Wed Aug 18 02:38:20 JST 2004
375
+ * Added method GSL::set_error_handler
376
+
377
+ Tue Aug 17 20:59:39 JST 2004
378
+ * Version 1.5.1
379
+
380
+ Sat Aug 14 16:27:05 JST 2004 Yoshiki Tsunesada
381
+ * Changed behaviour of the methods Odeiv::Evolve#apply, Odeiv::Solver#apply
382
+ * Fixed bug in GSL::Histogram#get
383
+ * Fixed buf in GSL::Vector#matrix_view_with_tda
384
+ * Added class GSL::Vector::Int
385
+ * Added test suite
386
+
387
+ Wed Aug 11 14:39:17 JST 2004 Yoshiki Tsunesada
388
+ * Fixed bug in GSL::Sf::legendle_Ql_e
389
+ * Fixed bug in GSL::MultiFit.linear
390
+
391
+ Tue Aug 10 10:31:21 JST 2004 Yoshiki Tsunesada
392
+ * Fixed bugs in GSL::Cdf::gumbel2_P, gumbel2_Q
393
+ * Version 1.5.0
394
+
395
+ Fri Aug 6 00:58:29 JST 2004 Yoshiki Tsunesada
396
+ * Fixed bug in Histogram2d.new_uniform
397
+
398
+ 4.Aug.2004
399
+ * Correct source code errors in interp.c, multifit.c
400
+
401
+ 2.Aug.2004
402
+ * Added methods GSL::Vector#dot (inner product)
403
+ * Added classes GSL::Vector::Col < GSL::Vector,
404
+ GSL::Vector::Col::View < GSL::Vector::Col
405
+
406
+ 1.Aug.2004
407
+ * Version 0.9.9
408
+
409
+ 30.Jul.2004
410
+ * Added methods GSL::Rng.default_seed, GSL::Rng.default_seed=(seed)
411
+
412
+ 26.Jul.2004
413
+ * Cumulative distribution functions
414
+ * Changed module path GSL::Ran:: ---> GSL::Cdf
415
+ * Constants GSL::VERSION, GSL::RUBY_GSL_VERSION defined
416
+
417
+ 24.Jul.2004
418
+ * Experimental implementation of discrete wavelet transforms (tests/wavelet)
419
+
420
+ 22.Jul.2004
421
+ * Elementary functions as GSL::sin now can take argument of Integer, Float,
422
+ Array, Vector or Matrix.
423
+ * Strict type check
424
+
425
+ 20.Jul.2004
426
+ * Added methods GSL::heapsort, Vector#heapsort, Vector::Complex#heapsort
427
+ * Added methods GSL::heapsort_index, Vector#heapsort_index,
428
+ Vector::Complex#heapsort_index
429
+ * version 0.9.4
430
+
431
+ 18.Jul.2004
432
+ * Added missing functions GSL::Sf::legendre_Ql
433
+ * Added missing functions GSL::Sf::psi_e
434
+ * Added missing functions GSL::Sf::zetam1, zetam1_int
435
+
436
+ 17.Jul.2004
437
+ * Added GSL::Eigen::Symmv::sort, GSL::Eigen::Hermv::sort
438
+ * Update GSL::Monte
439
+
440
+ 15.Jul.2004
441
+ * Version 0.9.2
442
+ * Added methods Matrix#each_row, Matrix#each_col
443
+ * Added methods Matrix::Complex#each_row, Matrix::Complex#each_col
444
+ * Fixed bug in Complex::polar
445
+ * Fixed bug in Complex#abs, arg, abs2, logabs
446
+
447
+ 13.Jul.2004
448
+ * Added Matrix#trace, Matrix::Complex#trace
449
+
450
+ 11.Jul.2004
451
+ * version 0.9.0
452
+ * Householder Transformations
453
+ * LU decomposition for complex matrices
454
+ * All the GSL functions implemented.
455
+
456
+ 10.Jul.2004
457
+ * Blas level 3
458
+ * Fixed GSL::Vector::sort_index
459
+
460
+ 8.Jul.2004
461
+ * Correct document on random distributions
462
+
463
+ 7.Jul.2004
464
+ * Fixed bug in the method GSL::Sf::coulomb_wave_sphF_array
465
+
466
+ 6.Jul.2004
467
+ * GSL 1.5 support
468
+ * Fixed a bug in the method GSL::Sf::bessel_sequence_Jnu_e
469
+
470
+ 5.Jul.2004
471
+ * Compile test with -Wall option:
472
+ * remove unused variables, check missing prototype declarations
473
+ * Fixed a bug in the method GSL::Multimin::test_size (wrong binding)
474
+
475
+ 30.Jun.2004
476
+ * ver 0.4.7
477
+
478
+ 28.Jun.2004
479
+ * Switch rb_f_lambda() and rb_block_proc(), for proper ruby version.
480
+
481
+ 20.Jun.2004
482
+ * Added Linalg::balance_comlumns(A, D) and Matrix#balance_columns(D)
483
+ * BLAS support
484
+ * Level 1
485
+ * Level 2
486
+
487
+ 19.Jun.2004
488
+ * Support gsl-1.4.90
489
+ * Added Stefan-Boltzmann constant, Thomson scattering cross section
490
+ * Module Deriv
491
+
492
+ 13.Jun.2004
493
+ * Fixed a bug in the sample script integration/friedmann.rb
494
+ * Improved interfaces of polynomial equations
495
+ * Correct the document on GSL::Complex
496
+
497
+ 10.Jun.2004
498
+ * ver 0.4.2
499
+ * The module GSL::Math removed
500
+ * The module name GSL::Const is changed to GSL::CONST
501
+
502
+ 09.Jun.2004
503
+ * ver 0.4.1
504
+ * Add random number generators borosh13, coveyou, fishman18,
505
+ fishman20, fishman2x, knuthran, knuthran2, lecuyer21, waterman14.
506
+ * Correct the documentation on random number generators
507
+ * Add functions expint_E1_scaled,expint_E2_scaled, and others
508
+ * Add methods Rng::fwrite, fread
509
+ * Add function binomial_tpe
510
+
511
+ 05.Jun.2004
512
+ * 0.4.0
513
+
514
+ 02.Jun.2004
515
+ * rb_gc_mark
516
+ * Implemented simulated annealing, Ntuples
517
+
518
+ 25.Apr.2004
519
+ * Vector, Matrix, Matrix::Complex coerce
520
+
521
+ 24.Apr.2004 version 0.3.11
522
+ * GSL::Complex, coerce
523
+
524
+ 22.Apr.2004 version 0.3.10
525
+ * polish sources of special functions
526
+
527
+ 18.Apr.2004, version 0.3.9
528
+ * bug fix Eigensystems, Interpolation
529
+
530
+ 16.Apr.2004
531
+ * bug fix Vector, Matrix, Linalg
532
+
533
+ 14.Apr.2004, version 0.3.8
534
+ * N-tuples
535
+ * Improvement in NArray object conversions (thanks to S. Nishizawa)
536
+
537
+ 13.Apr.2004
538
+ * Poly divided-difference reporesentation, Taylor expansion
539
+ * Apply patch by S. Nishizawa, for type checks in C code,
540
+ and some modifications in sample scripts
541
+
542
+ 12.Apr.2004, version 0.3.7
543
+ * Add mathematical functions ldexp, frexp
544
+ * Add gsl_sf_hazard function
545
+ * QRng bug fix
546
+ * GSL::Stats module
547
+
548
+ version 0.3.6 Monte-Carlo integration
549
+ version 0.3.5 Multidimensional minimization
550
+ version 0.3.4 Combinations, One dimensional minimization, Multidimensional
551
+ root-finding
552
+ version 0.3.3 Nonlinear least-squared fitting
553
+ versoin 0.3.2 Least-squared fitting
554
+ version 0.3.1 One dimensional root-finding
555
+ version 0.3.0 FFTs, Ordinary differential equations
556
+ 2002 version 0.2.5