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.

Required Ruby Version

>= 3.0

Authors

himotoyoshi

Versions

  1. 3.0.1 September 06, 2026 (1.21 MB)
  2. 3.0.0 August 25, 2026 (1.11 MB)
  3. 2.0.1 December 22, 2025 (200 KB)
  4. 2.0.0 June 03, 2025 (200 KB)
  5. 1.5.9 June 19, 2023 (197 KB)
Show all versions (31 total)

Pushed by

SHA 256 checksum