The Ruby/GSL is a ruby interface to the GSL. (GNU Scientific Library) for
numerical computation with Ruby.
Ruby/GSL is developed with Ruby 1.8.1 and GSL 1.4 on MacOS X 10.3.3.
- Get and install GSL.
- Ungzip and untar the archive rb-gsl-xxx.tar.gz.
- cd rb-gsl-xxx/
ruby setup.rb config
If you have the NArray extension, this may be useful,
% ruby setup.rb config -- --with-narray-include=<directory where 'narray.h' exsists>
- ruby setup.rb setup
- ruby setup.rb install
The documents below are just "translations" of the GSL reference.
- Introduction
- Using the library
- Error Handling
- Mathematical Functions
- Complex Numbers
- Polynomials
- Special Functions
- Vectors and Matrices
- Permutations
- Combinations
- Sorting
- BLAS Support
- Linear Algebra
- Eigen Systems
- Fast Fourier Transform
- Numerical Integration
- Random Numbers
- Quasi-Random Sequences
- Random Number Distributions
- Statistics
- 1d-Histograms and 2d-Histograms
- N-tuples
- Monte-Carlo Integration
- Simulated Annealing
- Ordinary Differential Equations
- Interpolation
- Numerical Differentiation
- Chebyshev Approximations
- Series Acceleration
- Discrete Hankel Transforms
- One dimensional Root-Finding
- One dimensional Minimization
- Multidimensional Root-Finding
- Multidimensional Minimization
- Least-Squares Fitting
- Nonlinear Least-Squares Fitting
- Physical Constants
Ruby/GSL is free software: you can redistribute it and/or modify it
under the terms of the GNU General Public License.
This library is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY.
The author would like to thank to the GSL development Team.
I also acknowledge to Mr. Yukihiro Matsumoto (Matz) and all the Ruby hackers for their
much creative works.
Yoshiki Tsunesada
ytsune@mua.biglobe.ne.jp
Apr/2004