Inner bug ?
- To: mathgroup at yoda.ncsa.uiuc.edu
- Subject: Inner bug ?
- From: pjanhune at finsun.csc.fi
- Date: Wed, 6 Mar 91 16:27:37 +0200
The expression
Inner[f,{x,y,z},{1,2,3},List]/.f->List
evaluates to {{x, 1}, {y, 2}, {z, 3}} as expected.
But the seemingly equivalent expression
Inner[List,{x,y,z},{1,2,3},List]
evaluates to {{x, y, z}, {1, 2, 3}}, i.e. the transpose
of the expected result. Has anyone an explanation? I used
Mma version 1.2.
Pekka Janhunen
Finnish Meteorological Institute, Geophysics Dept.,
email: pjanhune at finsun.csc.fi