RE: Meaning of @ ... not @@
- To: mathgroup at smc.vnet.net
- Subject: [mg32160] RE: [mg32152] Meaning of @ ... not @@
- From: "David Park" <djmp at earthlink.net>
- Date: Sun, 30 Dec 2001 02:54:25 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
Mark,
Go to Help, Master Index and type @ or @@.
@ is function application. f@x is the same as f[x].
@@ is Apply. f@@{x,y} is the same as f[x,y].
list = I Range[3];
Conjugate @ Reverse @ Drop[list, -1]
{-2*I, -I}
Conjugate[Reverse[Drop[list, -1]]]
{-2*I, -I}
David Park
djmp at earthlink.net
http://home.earthlink.net/~djmp/
> From: DIAMOND Mark R. [mailto:dot at dot.dot]
To: mathgroup at smc.vnet.net
>
> I'm sure I've seen this before, but cannot find the answer on the archive
> because I can't think of a sensible way of limiting the search!
>
> What, please, is the meaning of @ as in
> Conjugate @ Reverse @ Drop[list, -1]
>
> I seem to remember reading that this was "undocumented", and I cannot find
> it in the help. The above line appears in mg1432 in the archive.
>
> --
> Mark R. Diamond
> Send email to server called psy dot uwa dot edu dot au and
> address to markd
> http://www.psy.uwa.edu.au/user/markd
>
>
>