I agree totally that they are not the same.

But if I understand properly, Mathematica's /. does allow a "gather"
style operation, analogous to J's "key".  (But I should have
explicitly mentioned that I was not thinking of Oblique.)

Thanks,

-- 
Raul

On Mon, Jan 14, 2013 at 12:42 PM, Alan Stebbens <[email protected]> wrote:
> Raul,
>
> I don't see the similarity:  Mathematica /. is a pattern matching operation 
> (using regexps), while, as you know better than I, /. is J is oblique -- 
> applying or selecting array elements along an oblique axis.
>
> Other than the built-in mapping of functions across vectors and arrays, how 
> are they similar?
>
> --
> Alan Stebbens <[email protected]>
>
>
> On Monday, January 14, 2013 at 7:28 AM, Raul Miller wrote:
>
>> I had not realized that /. has a similar (though not identical)
>> meaning in J and Mathematica.
>>
>> http://xahlee.info/UnixResource_dir/writ/notations_mma.html
>>
>> --
>> 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

Reply via email to