This repository contains OLD version of NArray. Please visit NEW version =>
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bench
lib/narray
test
.gitignore
ChangeLog
MANIFEST
README.ja.md
README.md
Rakefile
SPEC.en.txt
SPEC.ja.txt
depend
extconf.rb
mkmath.rb
mknafunc.rb
mkop.rb
na_array.c
na_func.c
na_index.c
na_linalg.c
na_random.c
narray.c
narray.def
narray.gemspec
narray.h
narray_local.h

README.md

This package is OLD version, maintenance only.

New version is under development -> Ruby/Numo::NArray

Ruby/NArray

NArray Features:

  • Fast and easy calculation for large numerical array.

  • Accepting Elements: 8,16,32 bit integer, single/double float/complex, Ruby Object.

  • Easy extraction/substitution of array subset, using assignment with number, range, array index.

  • Operator: +, -, *, /, %, **, etc.

  • NMath: Mathematics functions.

  • FFTW version 2 or 3 is separately supported.

  • Ruby/PGPLOT: Graphics library interface (separately distributed) X-Y Graph, Histogram, Contour map, Image map, etc.

  • NArray is similar to:

    • Python/NumPy, Perl/PDL, Yorick, IDL
  • NArray is far from completed!

    • Experimental! Specification may be changed.
    • Far from completed.
    • Bugs may be included.
    • No document.

Installation

ruby extconf.rb
make
make install

Tested Platform

  • ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-linux]
  • gcc version 4.4.7 20120313 (Red Hat 4.4.7-4) (GCC)

License

This program is free software.
You can distribute/modify this program
under the same terms as Ruby itself.
NO WARRANTY.

Author

Masahiro TANAKA