### Numo::NArray Quick Start Example Source: https://ruby-numo.github.io/narray/index Demonstrates basic usage of Numo::NArray, including requiring the library, creating a new DFloat array with sequential values, and inspecting its shape, dimensions, class, and size. ```ruby require "numo/narray" a = Numo::DFloat.new(3,5).seq a.shape a.ndim a.class a.size ``` -------------------------------- ### Build Numo::NArray Project Source: https://ruby-numo.github.io/narray/index Builds the Numo::NArray project by running the setup script. This is typically a prerequisite for development or further compilation steps. ```ruby ruby setup.rb ``` -------------------------------- ### Install Numo::NArray on Ubuntu/Debian Source: https://ruby-numo.github.io/narray/index Installs necessary build tools and then installs the Numo::NArray gem from its GitHub repository using specific_install. Requires Ruby version 2.1 or later. ```bash 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 ``` -------------------------------- ### Run Numo::NArray Tests Source: https://ruby-numo.github.io/narray/index Installs project dependencies using Bundler and then executes the test suite for the Numo::NArray project. This is used for verifying the correctness of the library's implementation. ```bash bundle install bundle exec rake test ``` -------------------------------- ### Run Specific Numo::NArray Test Line Source: https://ruby-numo.github.io/narray/index Executes tests defined in a specific file and line number within the Numo::NArray project. This is useful for targeted debugging and testing of individual test cases. ```bash bundle exec ruby test/bit_test.rb --location 27 ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.