Skip to content

100 narray exercises

Kozo Nishida edited this page Jun 2, 2016 · 40 revisions

This is Ruby version of 100 numpy exercises

  1. Create a null vector of size 10

  2. Create a null vector of size 10 but the fifth value which is 1

  3. Create a vector with values ranging from 10 to 49

  4. Reverse a vector (first element becomes last)

  5. Create a 3x3 matrix with values ranging from 0 to 8

Clone this wiki locally