MathGroup Archive 2004

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

Search the Archive

Re: Forcing Argument Evaluation

  • To: mathgroup at smc.vnet.net
  • Subject: [mg49872] Re: [mg49848] Forcing Argument Evaluation
  • From: Daohua Song <ds2081 at columbia.edu>
  • Date: Thu, 5 Aug 2004 09:20:32 -0400 (EDT)
  • References: <200408041446.KAA20125@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Hi, Scott
     Head[a[[1]]]
     symbol
     but Head[a[[2]]] is Times. I guess the problem maybe lies in the 
symbol feature of funtions?
     c=a[[2]];
     Head[c]@@List@@c[[2]]@5

     There should be some simple answer to it
daohua

On Wed, 4 Aug 2004, Scott Guthery wrote:

> f[x_] := x^2;
> a = {f,f/2};
>
> a[[1]][2]
> 4
>
> a[[2]][[2]
> f/2[2]
>
> I know I'm missing something fundamental.
>
> Cheers, Scott
>
>
>


  • Prev by Date: Re: ReadListBinary question
  • Next by Date: Reduce/Solve
  • Previous by thread: Re: Forcing Argument Evaluation
  • Next by thread: Re: Forcing Argument Evaluation