Re: the new @@@ thing, MapApply?
- To: mathgroup at smc.vnet.net
- Subject: [mg20725] Re: the new @@@ thing, MapApply?
- From: Martin Kraus <Martin.Kraus at informatik.uni-stuttgart.de>
- Date: Wed, 10 Nov 1999 00:17:41 -0500
- Organization: Institut fuer Informatik, Universitaet Stuttgart
- References: <805vob$de4@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Daniel Reeves wrote:
>
> I can't find any documentation on the new @@@ function in version 4.
> Could someone explain it? Or confirm the following:
>
> It looks like
> f @@@ { {a,b,c}, {d,e,f}, ... }
> is equivalent to
> f @@#&/@ { {a,b,c}, {d,e,f}, ... }
> in other words,
> like Map, but doing Apply to each element.
>
> -- -- -- -- -- -- -- -- -- -- -- --
> Daniel Reeves http://ai.eecs.umich.edu/people/dreeves/
Just a small addition: The meaning of @@@ can be revealed with
In[1]:=
HoldForm[f @@@ l]
Out[1]=
Apply[f, l, {1}]
Greetings
Martin Kraus