index.rdoc

Path: rdoc/index.rdoc
Last Update: Sun Nov 14 17:19:43 -0800 2010

Ruby/GSL

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License.

Description

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

Installation

Using the gem command

Ruby/GSL may now be installed as a Ruby Gem by simply running

  gem install gsl

Note that the GSL libraries must already be installed before Ruby/GSL can be installed.

Using the setup.rb command

If you prefer, Ruby/GSL may still be installed using setup.rb.

  1. Get and install GSL. Make sure the command "gsl-config" is in command search path.
  2. Download Ruby/GSL, ungzip and untar the archive rb-gsl-xxx.tgz.
  3. % cd rb-gsl-xxx/
  4. % ruby setup.rb config
  5. % ruby setup.rb setup
  6. % ruby setup.rb install (as root)
  • It is recommended to install the GNU plotutils package. Some of the example scripts in the ‘examples/’ 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.

Screenshot

Ruby/GSL can be seen in action in these screenshots.

Reference

The Ruby/GSL reference manual follows and borrows large parts of the GSL reference manual.

Examples

See scripts in examples/ and tests/ directories.

Related Projects

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

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.

Bug Report

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

Author

Yoshiki Tsunesada:July, 2004
David MacMahon:November, 2010

[Validate]