Re: priorities between @, @@ and //
- To: mathgroup at smc.vnet.net
- Subject: [mg108745] Re: priorities between @, @@ and //
- From: Murray Eisenberg <murray at math.umass.edu>
- Date: Tue, 30 Mar 2010 05:00:16 -0500 (EST)
This is always a thorny issue when you use "abbreviations" such as
prefix form, suffix form, etc. In the Documentation Center, look at the
page:
tutorial/OperatorInputForms
There you'll see two long tables listing all the input forms in order of
decreasing precedence.
On 3/29/2010 8:20 AM, guerom00 wrote:
>
> Just a quick question : what are the priority between all those
> operators ? I mean :
> - what is f@x//g ? Is it f[g[x]] or g[f[x]]
> - what is f@@{a,b}[[2]] ? Is it f[b] or (f[a,b])[[2]]
>
> You see what I mean... What are the rules for the priority of all
> those operators ?
--
Murray Eisenberg murray at math.umass.edu
Mathematics & Statistics Dept.
Lederle Graduate Research Tower phone 413 549-1020 (H)
University of Massachusetts 413 545-2859 (W)
710 North Pleasant Street fax 413 545-1801
Amherst, MA 01003-9305