nmatrix icon indicating copy to clipboard operation
nmatrix copied to clipboard

Enable 'J' like operators for NMatrix

Open jtprince opened this issue 12 years ago • 5 comments

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).

jtprince avatar Oct 24 '13 17:10 jtprince

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.

translunar avatar Oct 26 '13 18:10 translunar

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 .

jtprince avatar Oct 26 '13 22:10 jtprince

@mohawkjohn Is this still a priority? I'd love to get started on this.

vshan avatar Nov 13 '14 17:11 vshan

@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.

translunar avatar Nov 13 '14 18:11 translunar

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.

vshan avatar Nov 14 '14 11:11 vshan