MathGroup Archive 2002

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

Search the Archive

Re: Apply and Heads option


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
>
>




  • Prev by Date: Calculus`Integration` in Math 4.1 with Win98
  • Next by Date: Re: Apply and Heads option
  • Previous by thread: Apply and Heads option
  • Next by thread: Re: Apply and Heads option