Thread
- To: mathgroup at yoda.physics.unc.edu
- Subject: Thread
- From: Nunes <nunes at ysidro.econ.uiuc.edu>
- 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