Project

runarray

0.0
No commit activity in last 3 years
No release in over 3 years
a pure ruby implementation of a numeric array interface.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.8.4
~> 3.12
~> 2.8.0
 Project Readme

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