sonic-pi
https://github.com/sonic-pi-net/sonic-pi
C++
Code. Music. Live.
NArray#where2
method: where2 idx_true, idx_false = narray.where2
Edit
git clone [email protected]:sonic-pi-net/sonic-pi.git
cd sonic-pi
open app/server/ruby/vendor/narray-0.6.1.1/narray.c
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-NArray-where2-for-pr
# Commit to gitgit add app/server/ruby/vendor/narray-0.6.1.1/narray.cgit commit -m "better docs for NArray#where2"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-NArray-where2-for-pr
hub pull-request
# Celebrate!