English / Japanese / RubyForge
NArray is an Numerical N-dimensional Array class. Supported element types are 1/2/4-byte Integer, single/double-precision Real/Complex, and Ruby Object. This extension library incorporates fast calculation and easy manipulation of large numerical arrays into the Ruby language. NArray has features similar to NumPy, but NArray has vector and matrix subclasses.
# install from source (requires compiler) gem install narray # Windows binary (MinGW version; works also with VC6 mswin32) gem install narray --platform=x86-mingw32
A FFTW3 wrapper for NArray. FFTW is a fast DFT (Discrete Fourier Transform) library.
Eigenvalue & Eigenvector method for NMatrix using dgeev & zgeev routine in Lapack. Effort to wrap other Lapack routines is ongoing very slowly.
A Quantity class containing "value" and "unit", providing automatic unit conversion and calculation. GNU/units data and Racc parser are employed.
Masahiro Tanaka