Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1993

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

Search the Archive


  • To: mathgroup at
  • Subject: Thread
  • From: Nunes <nunes at>
  • Date: Mon, 15 Nov 1993 09:16:02 -0600

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