This repository contains OLD version of NArray. Please visit NEW version =>
C Ruby Python Matlab
Latest commit 447c960 May 28, 2017 @masa16 avoid warning
Permalink
Failed to load latest commit information.
bench fix script in bench, delete testfftw.rb Dec 26, 2013
lib/narray move lib/* to lib/narray/ Feb 11, 2016
test fix script in bench, delete testfftw.rb Dec 26, 2013
.gitignore use rubygems/package_task, add --exclude in rdoc_options Feb 27, 2013
ChangeLog move lib/* to lib/narray/ Feb 11, 2016
MANIFEST move lib/* to lib/narray/ Feb 11, 2016
README.ja.md update README.md README.ja.md Jun 4, 2016
README.md Update README.md Apr 30, 2017
Rakefile use rubygems/package_task, add --exclude in rdoc_options Feb 27, 2013
SPEC.en.txt rename SPEC.en|ja to SPEC.en|ja.txt May 29, 2014
SPEC.ja.txt rename SPEC.en|ja to SPEC.en|ja.txt May 29, 2014
depend rm Makefile narray_config.h when make cleanall Feb 2, 2013
extconf.rb ver. 0.6.0.0 Aug 27, 2011
mkmath.rb avoid warnings in require "complex" and rdoc parsing Feb 26, 2013
mknafunc.rb bug: duplicated definition of asinh/acosh/atanh, typecast warning (mi… Jan 31, 2013
mkop.rb bug: duplicated definition of asinh/acosh/atanh, typecast warning (mi… Jan 31, 2013
na_array.c avoid warnings in require "complex" and rdoc parsing Feb 26, 2013
na_func.c delete NA_MAX_RANK May 29, 2014
na_index.c avoid warning May 28, 2017
na_linalg.c avoid warnings in require "complex" and rdoc parsing Feb 26, 2013
na_random.c avoid warning May 28, 2017
narray.c move lib/* to lib/narray/ Feb 11, 2016
narray.def add na_get_typecode to narray.def May 17, 2002
narray.gemspec move lib/* to lib/narray/ Feb 11, 2016
narray.h move lib/* to lib/narray/ Feb 11, 2016
narray_local.h Add NArray#mod! method Jan 4, 2011

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