Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Ruby/NArray : N-dimensional Numerical Array for Ruby
C Ruby Python
Failed to load latest commit information.
bench fix script in bench, delete testfftw.rb
lib Fix wrong argument name.
test fix script in bench, delete testfftw.rb
.gitignore use rubygems/package_task, add --exclude in rdoc_options
ChangeLog add map map! Thanks to Michael Macias
MANIFEST rename files
README.ja.md v0.6.1.0
README.md v0.6.1.0
Rakefile use rubygems/package_task, add --exclude in rdoc_options
SPEC.en.txt rename SPEC.en|ja to SPEC.en|ja.txt
SPEC.ja.txt rename SPEC.en|ja to SPEC.en|ja.txt
depend rm Makefile narray_config.h when make cleanall
extconf.rb ver. 0.6.0.0
mkmath.rb avoid warnings in require "complex" and rdoc parsing
mknafunc.rb bug: duplicated definition of asinh/acosh/atanh, typecast warning (mi…
mkop.rb bug: duplicated definition of asinh/acosh/atanh, typecast warning (mi…
na_array.c avoid warnings in require "complex" and rdoc parsing
na_func.c delete NA_MAX_RANK
na_index.c avoid warnings in require "complex" and rdoc parsing
na_linalg.c avoid warnings in require "complex" and rdoc parsing
na_random.c disable rb_secure(4) in srand
narray.c NArray#each returns Enumerator if block is not given.
narray.def add na_get_typecode to narray.def
narray.gemspec rename files
narray.h v0.6.1.1
narray_local.h Add NArray#mod! method

README.md

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

Something went wrong with that request. Please try again.