Enable 'J' like operators for NMatrix
If you peruse Rosetta Code and look at the 'J' language, you will find that it is by far the most concise language out there for most tasks. A year or two ago, I spent some time learning J, and there are many parts of it that are really beautiful.
Michael Feathers just implemented 'J' operators for Ruby Arrays.
https://github.com/michaelfeathers/jop
One way to really distinguish NMatrix over something like Numpy would be to enable 'J' operators for NMatrix.
I also wonder what J operators would look like if given 'english' names (rather than simple symbols).
John, this looks very cool. Is there any chance you can divide it into subtasks, each one about two hours? That can be as simple as making a bulleted list of the tasks right here on this issue.
I will try.
On Sat, Oct 26, 2013 at 12:22 PM, John Woods [email protected]:
John, this looks very cool. Is there any chance you can divide it into subtasks, each one about two hours? That can be as simple as making a bulleted list of the tasks right here on this issue.
— Reply to this email directly or view it on GitHubhttps://github.com/SciRuby/nmatrix/issues/157#issuecomment-27152228 .
@mohawkjohn Is this still a priority? I'd love to get started on this.
@Vshan Is it something you will use? Or will @jtprince? There are a lot of other things out there that need work, but I'll never turn down a good patch.
I'd suggest making this an optional extension within the NMatrix repo.
Oh I have no preference as such, however this issue seemed more fun and I liked how it would distinguish NMatrix over Numpy. I will also look into other important issues.