Re: the new @@@ thing, MapApply?
- To: mathgroup at smc.vnet.net
- Subject: [mg20743] Re: the new @@@ thing, MapApply?
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Wed, 10 Nov 1999 00:17:53 -0500
- Organization: Universitaet Leipzig
- References: <805vob$de4@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hi,
@@@ is the short version of
Apply[f,expr,{1}]
and should equivalent to
Map[Apply[f,#] &,expr]
You must look in the "short form" section of the Mathematica book
to find /@, @@ ..
Hope that helps
Jens
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/
>
> Well, you know when you're rocking back in a chair, and you go so
> far that you almost fall over backwards, but at the last instant you
> catch yourself? That's how I feel all the time. -- Steven Wright