narray icon indicating copy to clipboard operation
narray copied to clipboard

This repository contains OLD version of NArray. Please visit NEW version =>

Results 18 narray issues
Sort by recently updated
recently updated
newest added

I've added two NArray methods that might be of interest: 1) 'cumsum' for arrays with more than one dimension; the existing version only works for vectors. The new cumsum! calls...

I just wasted a lot of time tracking down a mistake I made: overflowing a byte NArray. Narray overflows without raising any errors - a typical C thing. Can we...

It would be useful if NArray provided a standard ruby Enumerator interface. All that would be required is for `my_narray.each` to return an Enumerator object, like `my_array.each` does when called...

Hello! As I already stated in https://github.com/SciRuby/nmatrix/issues/172 I'm the rpm-maintainer of rubygem-narray on Fedora and RHEL / CentOS. As you can see in the quoted issue above, there are some...

There is a misconception with the following instance methods: fill vs fill! and indgen vs indgen! In current implementation the former ones are just aliases to the latter, which is...

With ruby 1.8.7 (2012-10-12 patchlevel 371) [x86_64-linux] I'm getting the following test failure: ``` ..... the next will fail ..... $a.rot90 test/testreverse.rb:5:in `px': ./lib/narray_ext.rb:267:in `rot90': must be >= 2 dimensional...

Please consider adding functions: Mean absolute deviation Median absolute deviation The scbi_math gem does this as a wrapper around narray.

[`Array#map`](https://github.com/ruby/ruby/blob/ruby_1_6/array.c#L1722) was introduced in Ruby 1.6. This was likely because map is [a more common term](http://en.wikipedia.org/wiki/Map_%28higher-order_function%29#Language_comparison) than collect. It would be appropriate to add an `NArray#map` alias for `NArray#collect` to...

I think this warning comes from narray - at least I only see it with warnings enabled and requiring narray. maasha@mel:~$ ruby -wr narray -e '' lib/complex.rb is deprecated maasha@mel:~$...

After subclassing NArray, I have discovered that NArray is missing a similar feature compared to Ruby's Array where you easily convert back to an Array. With Array I can do...