comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Bug/feature in matrix multiply
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Bug/feature in matrix multiply [message #14582] Fri, 12 March 1999 00:00 Go to previous message
Mark Fardal is currently offline  Mark Fardal
Messages: 51
Registered: October 1995
Member
Hi,

is the following a bug or feature? I don't understand why changing the
type of the array changes the dimensions of the result. Then again,
it's late on Friday, so my brain might just be mush.

IDL> junk=fltarr(3)
IDL> junk=reform(junk,3,1)
IDL> help,junk
JUNK FLOAT = Array[3, 1]
IDL> help,[3.,2.,1.]#junk
<Expression> FLOAT = Array[1]
IDL> help,[3.d0,2.d0,1.d0]#junk
<Expression> DOUBLE = Array[3, 3]

this is with
IDL Version 5.2 (sunos sparc). Research Systems, Inc.

thanks,
Mark Fardal
UMass
fardal@weka.phast.umass.edu
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: problems printing labels on graphs
Next Topic: Widget Buttons on Mac

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 19:03:51 PDT 2025

Total time taken to generate the page: 0.00403 seconds