{"id":13484509,"url":"https://github.com/ruby-numo/numo-narray","last_synced_at":"2025-03-27T16:30:56.388Z","repository":{"id":9458788,"uuid":"11340157","full_name":"ruby-numo/numo-narray","owner":"ruby-numo","description":"Ruby/Numo::NArray - New NArray class library","archived":false,"fork":false,"pushed_at":"2024-04-12T06:28:29.000Z","size":3144,"stargazers_count":422,"open_issues_count":53,"forks_count":42,"subscribers_count":26,"default_branch":"master","last_synced_at":"2025-03-22T14:15:19.804Z","etag":null,"topics":["narray","numo","ruby","ruby-numo","scientific-computing"],"latest_commit_sha":null,"homepage":"http://ruby-numo.github.io/narray/","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ruby-numo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2013-07-11T11:22:52.000Z","updated_at":"2025-03-19T02:18:05.000Z","dependencies_parsed_at":"2024-05-01T13:30:02.752Z","dependency_job_id":null,"html_url":"https://github.com/ruby-numo/numo-narray","commit_stats":{"total_commits":795,"total_committers":17,"mean_commits":46.76470588235294,"dds":0.1534591194968553,"last_synced_commit":"1dd19df10045f992bda6fdca9a696fe85a90aaaf"},"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruby-numo%2Fnumo-narray","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruby-numo%2Fnumo-narray/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruby-numo%2Fnumo-narray/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruby-numo%2Fnumo-narray/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ruby-numo","download_url":"https://codeload.github.com/ruby-numo/numo-narray/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245882295,"owners_count":20687862,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["narray","numo","ruby","ruby-numo","scientific-computing"],"created_at":"2024-07-31T17:01:25.412Z","updated_at":"2025-03-27T16:30:55.766Z","avatar_url":"https://github.com/ruby-numo.png","language":"C","readme":"# Numo::NArray\n[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/ruby-numo/numo-narray/HEAD?filepath=100-narray-exercises.ipynb)\n[![Build Status](https://github.com/ruby-numo/numo-narray/workflows/build/badge.svg)](https://github.com/ruby-numo/numo-narray/actions)\n\n[GitHub](https://github.com/ruby-numo/numo-narray)\n | [RubyGems](https://rubygems.org/gems/numo-narray)\n\nNumo::NArray is an Numerical N-dimensional Array class\nfor fast processing and easy manipulation of multi-dimensional numerical data,\nsimilar to numpy.ndarray.\nThis project is the successor to [Ruby/NArray](http://masa16.github.io/narray/).\n\n## Documentation\n\nAll documents are primitive.\n\n* [Numo::NArray API Doc](http://ruby-numo.github.io/numo-narray/yard/index.html)\n* [Numo::NArray vs numpy](https://github.com/ruby-numo/numo-narray/wiki/Numo-vs-numpy)\n* [Numo::NArray vs ndarray](https://github.com/ruby-numo/numo-narray/wiki/Numo-vs-ndarray)\n* [Numo::NArray Overview](https://github.com/ruby-numo/numo-narray/wiki/Numo::NArray-Overview-(Japanese)) (in Japanese)\n\n## Related Projects\n\n* [Numo::Linalg](https://github.com/ruby-numo/numo-linalg) - Linear Algebra library with [LAPACK](http://www.netlib.org/lapack/).\n* [Numo::GSL](https://github.com/ruby-numo/numo-gsl) - Ruby interface for [GSL (GNU Scientific Library)](http://www.gnu.org/software/gsl/).\n* [Numo::FFTW](https://github.com/ruby-numo/numo-fftw) - Ruby/Numo interface to [FFTW (A Discrete Fourier Transform library](http://www.fftw.org/).\n* [Numo::FFTE](https://github.com/ruby-numo/numo-ffte) - Ruby interface for [FFTE (A Fast Fourier Transform library with radix-2,3,5)](http://www.ffte.jp/).\n* [Numo::Gnuplot](https://github.com/ruby-numo/numo-gnuplot) - Simple and easy-to-use Gnuplot interface.\n\n## Installation\n\n### Requirement\n\nRuby ver 2.2 and later.\n\n### Ubuntu, Debian, Bash on Windows\n\n```shell\napt install -y git ruby gcc ruby-dev rake make\ngem install specific_install\ngem specific_install https://github.com/ruby-numo/numo-narray.git\n```\n\n## Quick start\n\nAn example\n\n```ruby\n[1] pry(main)\u003e require \"numo/narray\"\n=\u003e true\n[2] pry(main)\u003e a = Numo::DFloat.new(3,5).seq\n=\u003e Numo::DFloat#shape=[3,5]\n[[0, 1, 2, 3, 4],\n [5, 6, 7, 8, 9],\n [10, 11, 12, 13, 14]]\n[3] pry(main)\u003e a.shape\n=\u003e [3, 5]\n[4] pry(main)\u003e a.ndim\n=\u003e 2\n[5] pry(main)\u003e a.class\n=\u003e Numo::DFloat\n[6] pry(main)\u003e a.size\n=\u003e 15\n```\n\nFor more examples, check out the **narray version of 100 numpy exercises**.\n  - [Wiki version](https://github.com/ruby-numo/numo-narray/wiki/100-narray-exercises) of the 100 exercises\n  - [Reproducible version](https://mybinder.org/v2/gh/ruby-numo/numo-narray/HEAD?filepath=100-narray-exercises.ipynb) of the 100 exercises (With this, you can try narray without creating an environment locally.)\n\n## Development\n\n### Build\n\n```shell\ngit clone https://github.com/ruby-numo/numo-narray\ncd numo-narray\nbundle install\nbundle exec rake compile\n```\n\n### Run tests\n\n```shell\nbundle exec rake test\n```\n\nTips: You may run tests defined in a specified line as:\n\n```shell\nbundle exec ruby test/bit_test.rb --location 27\n```\n","funding_links":[],"categories":["C","Data Structures","Scientific"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fruby-numo%2Fnumo-narray","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fruby-numo%2Fnumo-narray","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fruby-numo%2Fnumo-narray/lists"}