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

Home » Public Forums » archive » really stupid matrix question
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
really stupid matrix question [message #94830] Mon, 30 October 2017 10:49 Go to previous message
astroboy.20000 is currently offline  astroboy.20000
Messages: 39
Registered: August 2012
Member
OK, before my head explodes, can anyone tell me the answer to this?

a=indgen(4,3)
print, a
0,1,2,3
4,5,6,7
8,9,10,11

OK, are the horizontal lines really vertical vectors? I think they would be based on idl being column-major, which means the columns are contiguous in memory. If. I. understand. correctly.

If this is correct, then why does IDL print them out in rows????

Someone please shoot me.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: display direction
Next Topic: Re: harrisgeospatial unreachable...

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

Current Time: Wed Oct 08 11:47:32 PDT 2025

Total time taken to generate the page: 0.00413 seconds