Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2008

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: What is @@@?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg87224] Re: What is @@@?
  • From: "David Park" <djmpark at comcast.net>
  • Date: Fri, 4 Apr 2008 03:00:35 -0500 (EST)
  • References: <ft2au1$ph5$1@smc.vnet.net>

Kevin,

Look at More Information for Apply. Here is an example:

{a, b, c, d}
step1 = f /@ %
g @@@ %
Identity @@@ %         giving

{a, b, c, d}
{f[a], f[b], f[c], f[d]}
{g[a], g[b], g[c], g[d]}
{a, b, c, d}

So @@@ is really a shortcut for:

g @@ # & /@ step1
{g[a], g[b], g[c], g[d]}


-- 
David Park
djmpark at comcast.net
http://home.comcast.net/~djmpark/


"Kevin J. McCann" <Kevin.McCann at umbc.edu> wrote in message 
news:ft2au1$ph5$1 at smc.vnet.net...
>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: solving a system of polynomial equations
  • Next by Date: Re: What is @@@?
  • Previous by thread: Re: What is @@@?
  • Next by thread: Re: What is @@@?