MathGroup Archive 2004

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

Search the Archive

Re: Forcing Argument Evaluation


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