Skip to content

jtprince/runarray

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

pure ruby implementation of NArray

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages