2d array class

Hi,
Is there an equivalent gem that mimics the narray gem?

thanks,
tommy


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

Why not just use the narray gem?

~~ Robert.

It uses C extensions so it doesn’t work with JRuby.

tommy

Not aware of something with the same api implemented in java, but in
terms
of functionality I’ve been happy using the commons math java library and
wrapping some pieces in a more ruby friendly way when need be.

On 3 Jan 2010, at 00:09, Tommy C. [email protected] wrote:

It uses C extensions so it doesn’t work with JRuby.

tommy

On 1/2/10 9:33 AM, Robert Fischer wrote:

Why not just use the narray gem?

~~ Robert.

Anyone interested in making a Java version of narray?

/Nick

On Sat, Jan 2, 2010 at 6:09 PM, Tommy C. [email protected]
wrote:


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

I may write a limited wrapper class that mimics narray api(*if possible)
using one of Java’s matrix libraries: cern.colt.matrix.linalg,
matrix-toolkits-java http://code.google.com/p/matrix-toolkits-java/
i’ll research more into the java libraries.

tommy

this may also be an alternative to base it on:
http://commons.apache.org/math/

On Tue, Mar 2, 2010 at 11:55 AM, Tommy C. [email protected]
wrote:

if you guys need a ruby to jruby gem compatibility, post it on
http://nextsprocket.com :slight_smile:
(*shamless plug: i work on nextsprocket)

I’m trying to figure out whether the $600 reward for Nokogiri-Java
hasn’t been claimed because nobody cares, nobody has any free time, or
nobody knows about it. The bounties thread went quiet some time ago,
but there’s obviously money to be had from some of these projects, and
in the case of nokogiri-java, it may almost be getting close to a
reasonable rate for the remaining work required.

Resources seem slim all over right now. Maybe it’s the economy?

  • Charlie

To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

Just an update:
pmahoney recently completed a ruby GSL implementation using FFI. I
tested it on ruby 1.8.7 and jruby 1.4
you can get the gem from here
http://nextsprocket.com/tasks/make-narray-gem-jruby-compatible
a rubyforge project page is in the works

Not exactly narray but gsl offers a great set of linear algebra tools so
jruby users can do matrix operations with greater efficiency now.

if you guys need a ruby to jruby gem compatibility, post it on
http://nextsprocket.com :slight_smile:
(*shamless plug: i work on nextsprocket)


Tommy C.
Programmer and UC Irvine Graduate Student
Twitter @tommychheng