SciRuby/nmatrix — pull request #114 by ryanmt (2013-08-07 19:40:42+00:00)
Title: added diagonals() shortcut

I added a function to allow for simple (one argument) diagonal NMatrix creation. It seemed like it would be useful to me.