Ruby/GSL

# Title: Ruby/GSL

## 1 Description

RubyGSL is a ruby interface to the GSL (GNU Scientific Library), for numerical computing with Ruby.

Ruby/GSL is developed with Ruby 1.8.2 and GSL 1.5 on MacOS X 10.3.5 (Darwin 7.5.0). This also runs under Linux, and Cygwin.

## 2 Download

- RubyForge

## 3 Installation

1. Get and install GSL.
2. Download Ruby/GSL, ungzip and untar the archive `rb-gsl-xxx.tar.gz`.
3. `% cd rb-gsl-xxx/`
4. Make sure the command "gsl-config" is in command search path.

5. `% ruby setup.rb config`

   If you have the NArray extension, the following may be useful,

       % ruby setup.rb config -- --with-narray-include=<directory where 'narray.h' exsists>

6. `% ruby setup.rb setup`
7. `% ruby setup.rb install` (as root)

- It is recommended to install the `GNU plotutils` package. Some of the sample scripts in the 'samples/' directory use the `graph` utility included in the package to plot the results. Windows-cygwin binaries of `GNU plotutils` and related packages are available from here.

## 4 Screenshot

## 5 Reference

## 6 Examples

See scripts in `samples/` and `tests/` directories.

## 7 Related Projects

- ruby-gsl: Another Ruby biding, developed by Arno Erpenbeck.

## 8 Licence

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.

## 9 Bug Report

If you encounter bugs in Ruby/GSL, please e-mail to me, or submit reports from RubyForge page.

## 10 Author

Yoshiki Tsunesada

Jul/2004

This document is generated with RDTool.