MathGroup Archive 1991

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

Search the Archive

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



  • Prev by Date: Inner bug ?
  • Next by Date: Perplexing Puny Plot Print Problem.
  • Previous by thread: Inner bug ?
  • Next by thread: Re: Inner Bug ?