pure ruby implementation of NArray
Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
spec
.gitignore
CHANGELOG
LICENSE
README.rdoc
Rakefile
VERSION
runarray.gemspec

README.rdoc

runarray

runarray - Attempting to provide a pure ruby implementation of major NArray functionality.

Pronounced like Scooby-Doo saying 'Run away!'.

Very much pre-alpha right now although some good functionality has been implemented.

Example

If you require the auto file then NArray is used if it is available. If not, the Runarray module is included and one can seamlessly use NArray objects.

require 'runarray/auto'

na = NArray.float(4) # -> an NArray object if narray is available 
                     # -> else an Runarray::NArray object

Using Pure Ruby

require 'runarray/narray'  
include Runarray
na = NArray.float(4) # ->  [ 0.0, 0.0, 0.0, 0.0 ]

Installation

gem install runarray

See Also

narray.rubyforge.org/ narray.rubyforge.org/SPEC.en