MathGroup Archive 1993

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

Search the Archive

Thread


Does anyone know why does the Thread function doesn't
allow a composed header. For example, the following
works just fine:

  In[1]:= Thread[f[g[a,b],g[c,d]],g]

  Out[1]= g[f[a, c], f[b, d]]

  In[2]:= Head[g[1][a,b]]

  Out[2]= g[1]

  In[3]:= Head[g[1][c,d]]

  Out[3]= g[1]

But now g[1] is not recognized as an header:

  In[4]:= Thread[f[g[1][a,b],g[1][c,d]],g[1]]

  Out[4]= f[g[1][a, b], g[1][c, d]]


		--Luis Nunes






  • Prev by Date: cyclotomics
  • Next by Date: Erroneous factor Pi/4 in Integrate[ 2F1[ 1/2, 3/2, 2, x^2 ], x ]
  • Previous by thread: cyclotomics
  • Next by thread: Re: Thread