Re: What is @@@?
- To: mathgroup at smc.vnet.net
- Subject: [mg87223] Re: What is @@@?
- From: Januk <ggroup at sarj.ca>
- Date: Fri, 4 Apr 2008 03:00:23 -0500 (EST)
- References: <ft2au1$ph5$1@smc.vnet.net>
@@@ is a special case of Apply where the specified head is being
applied at level 1. @@ is a short form that applies the specified
head at level 0.
=46rom the help file:
---- Begin Excerpt ----
In[1]:= Apply[f, {{a, b, c}, {d, e}}, {1}]
Out[1]= {f[a, b, c], f[d, e]}
The short form @@@ is equivalent to applying at level 1:
In[2]:= f @@@ {{a, b, c}, {d, e}}
Out[2]= {f[a, b, c], f[d, e]}
---- End Excerpt ----
Januk
On Apr 3, 6:18 am, "Kevin J. McCann" <Kevin.McC... at umbc.edu> wrote:
> I have seen several references to the command @@@ in this newsgroup, but
> a query of the online Documentation Center just refers me to Apply (@@).
> What does it do and where can I read about it?
>
> Thanks
>
> Kevin
> --
>
> Kevin J. McCann
> Research Associate Professor
> JCET/Physics
> Physics Building
> University of Maryland, Baltimore County
> 1000 Hilltop Circle
> Baltimore, MD 21250