ruby-numo / Numo Narray
Licence: bsd-3-clause
Ruby/Numo::NArray - New NArray class library
Stars: ✭ 289
Programming Languages
Labels
Projects that are alternatives of or similar to Numo Narray
Blitz
Blitz++ Multi-Dimensional Array Library for C++
Stars: ✭ 257 (-11.07%)
Mutual labels: scientific-computing
vtkbool
A new boolean operations filter for VTK
Stars: ✭ 77 (-73.36%)
Mutual labels: scientific-computing
reprozip-examples
Examples and demos for ReproZip
Stars: ✭ 13 (-95.5%)
Mutual labels: scientific-computing
Simpeg
Simulation and Parameter Estimation in Geophysics - A python package for simulation and gradient based parameter estimation in the context of geophysical applications.
Stars: ✭ 283 (-2.08%)
Mutual labels: scientific-computing
dfogn
DFO-GN: Derivative-Free Optimization using Gauss-Newton
Stars: ✭ 20 (-93.08%)
Mutual labels: scientific-computing
bitpit
Open source library for scientific HPC
Stars: ✭ 80 (-72.32%)
Mutual labels: scientific-computing
Python-Matematica
Explorando aspectos fundamentais da matemática com Python e Jupyter
Stars: ✭ 41 (-85.81%)
Mutual labels: scientific-computing
SA-PINNs
Implementation of the paper "Self-Adaptive Physics-Informed Neural Networks using a Soft Attention Mechanism" [AAAI-MLPS 2021]
Stars: ✭ 32 (-88.93%)
Mutual labels: scientific-computing
scim
[wip]Speech recognition tool-box written by Nim. Based on Arraymancer.
Stars: ✭ 17 (-94.12%)
Mutual labels: scientific-computing
Impyute
Data imputations library to preprocess datasets with missing data
Stars: ✭ 273 (-5.54%)
Mutual labels: scientific-computing
monolish
monolish: MONOlithic LInear equation Solvers for Highly-parallel architecture
Stars: ✭ 166 (-42.56%)
Mutual labels: scientific-computing
dishtiny
DISHTINY: A Platform for Studying Open-Ended Evolutionary Transitions in Individuality
Stars: ✭ 25 (-91.35%)
Mutual labels: scientific-computing
Datacube Core
Open Data Cube analyses continental scale Earth Observation data through time
Stars: ✭ 285 (-1.38%)
Mutual labels: scientific-computing
qnm
Python package for computing Kerr quasinormal mode frequencies, separation constants, and spherical-spheroidal mixing coefficients
Stars: ✭ 21 (-92.73%)
Mutual labels: scientific-computing
Numo::NArray
Numo::NArray is an Numerical N-dimensional Array class for fast processing and easy manipulation of multi-dimensional numerical data, similar to numpy.ndaray. This project is the successor to Ruby/NArray.
Documentation
All documents are primitive.
- Numo::NArray API Doc
- Numo::NArray vs numpy
- Numo::NArray vs ndarray
- Numo::NArray Overview (in Japanese)
Related Projects
- Numo::Linalg - Linear Algebra library with LAPACK.
- Numo::GSL - Ruby interface for GSL (GNU Scientific Library).
- Numo::FFTW - Ruby/Numo interface to FFTW (A Discrete Fourier Transform library.
- Numo::FFTE - Ruby interface for FFTE (A Fast Fourier Transform library with radix-2,3,5).
- Numo::Gnuplot - Simple and easy-to-use Gnuplot interface.
Installation
Requirement
Ruby ver 2.2 and later.
Ubuntu, Debian, Bash on Windows
apt install -y git ruby gcc ruby-dev rake make
gem install specific_install
gem specific_install https://github.com/ruby-numo/numo-narray.git
Quick start
An example
[1] pry(main)> require "numo/narray"
=> true
[2] pry(main)> a = Numo::DFloat.new(3,5).seq
=> Numo::DFloat#shape=[3,5]
[[0, 1, 2, 3, 4],
[5, 6, 7, 8, 9],
[10, 11, 12, 13, 14]]
[3] pry(main)> a.shape
=> [3, 5]
[4] pry(main)> a.ndim
=> 2
[5] pry(main)> a.class
=> Numo::DFloat
[6] pry(main)> a.size
=> 15
For more examples, check out this narray version of 100 numpy exercises (and the IRuby Notebook).
Development
Build
git clone https://github.com/ruby-numo/numo-narray
cd numo-narray
bundle install
bundle exec rake compile
Run tests
bundle exec rake test
Tips: You may run tests defined in a specified line as:
bundle exec ruby test/bit_test.rb --location 27
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].