Sign in Sign up
rubygems

carray

Ruby/CArray adds multi-dimensional numerical arrays to Ruby. Elements are held in a single flat memory block, so whole-array work -- element-wise arithmetic, reductions along any axis, sorting, searching -- runs in C. Slicing, transposing, reshaping, and selecting by a boolean condition all return views that share storage with the original array and can be chained freely; nothing is copied until you ask for a copy. Any array, view included, can carry a mask marking individual elements as undefined, and arrays are exchanged with other numerical libraries without copying through Ruby's MemoryView protocol.

Activity

Latest release
1w ago
Total releases
28
Cadence
~3 months
Last 12 months
3

Reach

Downloads
54.4k
Stars
0

Details

License
MIT
First release
May 06, 2016
Releases
Version Released
3.0.1 patch
3.0.0 major
2.0.1 patch
2.0.0 major
1.5.9 patch
1.5.8 patch
1.5.7 patch
1.5.6 patch
1.5.5 patch
1.5.4 patch
1.5.3 patch
1.5.2 patch
1.5.1 minor
1.4.0 minor
1.3.7 patch
1.3.6 patch
1.3.5 patch
1.3.4 patch
1.3.3 patch
1.3.2 patch
1.3.1 patch
1.3.0 minor
1.2.0 minor
1.1.8 patch
1.1.4 initial
1.1.6 patch
1.1.5 patch
1.1.7 patch