Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Ruby
  3. Numo::NArray

Numo::NArray

BSD-3-ClauseC

A Ruby library for fast processing and manipulation of multi-dimensional numerical arrays, similar to NumPy's ndarray.

Visit WebsiteGitHubGitHub
458 stars51 forks0 contributors

What is Numo::NArray?

Numo::NArray is a Ruby library that provides an N-dimensional array class for fast processing and manipulation of multi-dimensional numerical data. It solves the need for efficient numerical computing in Ruby, offering functionality similar to Python's NumPy, and is the successor to the older Ruby/NArray project.

Target Audience

Ruby developers working on scientific computing, data analysis, machine learning, or any application requiring efficient numerical array operations.

Value Proposition

Developers choose Numo::NArray for its performance, familiar NumPy-like API, and seamless integration into Ruby workflows, making it the go-to solution for numerical computing in Ruby without switching to Python.

Overview

Ruby/Numo::NArray - New NArray class library

Use Cases

Best For

  • Scientific computing and numerical simulations in Ruby
  • Data analysis and manipulation of multi-dimensional datasets
  • Machine learning and statistical modeling in Ruby
  • Educational purposes for teaching numerical computing with Ruby
  • Migrating NumPy-based Python code to Ruby
  • High-performance array operations in Ruby applications

Not Ideal For

  • Projects requiring GPU-accelerated numerical computations for deep learning or simulations
  • Teams deeply integrated with Python's data science stack (e.g., pandas, scikit-learn, TensorFlow)
  • Real-time embedded systems where minimal dependencies and C-level memory control are critical

Pros & Cons

Pros

Familiar NumPy API

Provides a NumPy-like interface with methods like .shape and .seq, easing the transition for Python developers, as demonstrated in the quick start example.

High Performance Design

Optimized for fast processing of large multi-dimensional arrays, emphasized in the GitHub description and key features for scientific computing.

Robust Type Support

Includes specific types such as Numo::DFloat for double-precision floats, ensuring precision in numerical operations as highlighted in the features.

Extensible Ecosystem

Integrates with related projects like Numo::Linalg for linear algebra, showing extendability for advanced computations beyond core array operations.

Cons

Primitive Documentation

The README explicitly states 'All documents are primitive,' which hinders learning, debugging, and adoption compared to well-documented libraries like NumPy.

Complex Installation Process

Requires non-standard gem installation with `specific_install` and system dependencies like gcc, making setup more involved than typical Ruby gems.

Limited Ecosystem Maturity

While related projects exist, the overall tooling for scientific computing in Ruby is less developed, with fewer community resources and integrations than Python's vast ecosystem.

Open Source Alternative To

Numo::NArray is an open-source alternative to the following products:

n
numpy.ndarray
N
NumPy

Frequently Asked Questions

Quick Stats

Stars458
Forks51
Contributors0
Open Issues52
Last commit11 months ago
CreatedSince 2013

Tags

#multi-dimensional-arrays#scientific-computing#array-processing#ruby-gem#numerical-computing#data-analysis#numpy-alternative#ruby

Built With

R
Ruby

Links & Resources

Website

Included in

Ruby14.1k
Auto-fetched 2 hours ago

Related Projects

decisiontreedecisiontree

ID3-based implementation of the ML Decision Tree algorithm

Stars1,481
Forks130
Last commit7 years ago
PyCallPyCall

Calling Python functions from the Ruby language

Stars1,113
Forks88
Last commit19 days ago
darudaru

Data Analysis in RUby

Stars1,059
Forks140
Last commit2 years ago
SciRubySciRuby

Tools for scientific computation in Ruby

Stars1,001
Forks79
Last commit6 years ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub