What an excellent suggestion, Jan-Pieter!! I find that J's verb rank is more flexible (and useful?) than broadcasting found in either NumPy/SciPy or Julia. The topic under Nested Loops [2] highlights verb rank's flexibility. The example 'ab' ,"0"0 _ 'def' on that page is illuminating! I vaguely recollect that this has been used/discussed/proposed in some interesting ways in the forums but unfortunately I cannot find any of them right now.
Thanks, Vijay. [2]: http://www.jsoftware.com/help/jforc/loopless_code_i_verbs_have_r.htm#_Toc191734345 On Sun, Jul 8, 2018 at 8:43 AM, Jan-Pieter Jacobs < [email protected]> wrote: > Another example that also seems to have gotten widespread traction and > might be referenced on the Rank page is broadcasting [0] in python's Numpy > [1], which does more or less the same, albeit with slightly different > rules. > > [0]: https://docs.scipy.org/doc/numpy-1.13.0/user/basics.broadcasting.html > [1]: https://en.m.wikipedia.org/wiki/NumPy > > Best regards, > > Jan-Pieter > > On Sat, 7 Jul 2018, 01:13 Roger Hui, <[email protected]> wrote: > > > Y'all might want to point out that rank is a generalization of scalar > > extension, inner (matrix) product, and outer product in APL\360, maplist > in > > LISP, and map in modern functional programming languages. That (and/or > > filling in the details of that) may earn the Wikipedia page a stay of > > execution. In addition, rank is not just in J but in APL as well (in > > Dyalog APL, in the ISO Standard on Extended APL, in NARS2000). > > > > > > On Fri, Jul 6, 2018 at 2:16 PM, Raul Miller <[email protected]> > wrote: > > > > > So... it looks like someone wants to delete the > > > https://en.wikipedia.org/wiki/Rank_(J_programming_language) page. > > > > > > Personally, I think it describes a concept of general interest to the > > > programming community, with J being an illustrative (and perhaps > > > canonical) example. The https://en.wikipedia.org/wiki/S-expression > > > page is similar in character (but has a lot more traction - far more > > > people have spent time talking about it). But, looking at the talk > > > page, it seem that that's not a viewpoint that has gotten any > > > significant foothold. > > > > > > Oh well... > > > > > > -- > > > Raul > > > ---------------------------------------------------------------------- > > > For information about J forums see http://www.jsoftware.com/forums.htm > > ---------------------------------------------------------------------- > > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
