Re: What is @@@?

• To: mathgroup at smc.vnet.net
• Subject: [mg87218] Re: [mg87190] What is @@@?
• From: Bob Hanlon <hanlonr at cox.net>
• Date: Fri, 4 Apr 2008 02:59:25 -0500 (EST)

```With the help for Apply (@@) expand out the "MORE INFORMATION" to see the statement:

f@@@expr is equivalent to Apply[f,expr,{1}]

f @@@ {{x1, x2, x3}, {y1, y2, y3}}

{f(x1,x2,x3),f(y1,y2,y3)}

Apply[f, {{x1, x2, x3}, {y1, y2, y3}}, {1}]

{f(x1,x2,x3),f(y1,y2,y3)}

Apply[f, {{x1, x2, x3}, {y1, y2, y3}}, 1]

{f(x1,x2,x3),f(y1,y2,y3)}

f @@ # & /@ {{x1, x2, x3}, {y1, y2, y3}}

{f(x1,x2,x3),f(y1,y2,y3)}

Map[f @@ # &, {{x1, x2, x3}, {y1, y2, y3}}]

{f(x1,x2,x3),f(y1,y2,y3)}

Map[Apply[f, #] &, {{x1, x2, x3}, {y1, y2, y3}}]

{f(x1,x2,x3),f(y1,y2,y3)}

Bob Hanlon

---- "Kevin J. McCann" <Kevin.McCann 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
>

```

• Prev by Date: Re: reaction diffusion equation !
• Next by Date: Label vertices in Graph to display with GraphPlot
• Previous by thread: Re: What is @@@?
• Next by thread: Re: What is @@@?