Re: Apply and Heads option
- To: mathgroup at smc.vnet.net
- Subject: [mg35227] Re: Apply and Heads option
- From: "Allan Hayes" <hay at haystack.demon.co.uk>
- Date: Wed, 3 Jul 2002 05:13:28 -0400 (EDT)
- References: <afrh1s$lu1$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Ted, Apply[f, h[][], {1}, Heads->False] h[][] Apply[f, h[][], {1}, Heads->True] f[][] -- Allan --------------------- Allan Hayes Mathematica Training and Consulting Leicester UK www.haystack.demon.co.uk hay at haystack.demon.co.uk Voice: +44 (0)116 271 4198 Fax: +44 (0)870 164 0565 "Ersek, Ted R" <ErsekTR at navair.navy.mil> wrote in message news:afrh1s$lu1$1 at smc.vnet.net... > Hello mathgroup, > --------- > > Apply has the Heads option. > Can somebody give an example where > Apply[f, expr, Heads->True] gives a different result than > Apply[f, expr, Heads->False]. > > OR where > > Apply[f, expr, levelspec, Heads->True] gives a different result than > Apply[f, expr, levelspec, Heads->False]. > > ---------- > Thanks, > Ted Ersek > >