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
Re: really stupid matrix question [message #94838 is a reply to message #94837] Tue, 31 October 2017 12:51 Go to previous messageGo to previous message
benjamin.castellani is currently offline  benjamin.castellani
Messages: 7
Registered: October 2017
Junior Member
The first dimension of any array/vector is column index in IDL.

x = findgen(5)

produces an array with 5 Columns and 1 (Implied) Row.

I always remember Matlab is (Row Index, Column Index)--> RC --> RC Cars (childhood toy). IDL is the opposite of Matlab. CR --> ???
Do you have a mnemonic device for this one?

On Tuesday, October 31, 2017 at 11:47:00 AM UTC-6, Ann Nonymous wrote:
> On Tuesday, October 31, 2017 at 1:45:33 PM UTC-4, Ann Nonymous wrote:
>> Thanks for the help everyone. Please allow me another question:
>>
>> x=findgen(5)
>>
>> is x a column vector or a row vector? It prints out like its a row, of course, but I haven't found anything in the documentation that explicitly says which one it is. Saying that the first dimension is stored contiguously is a bit ambiguous.
>
> I suppose it must be a row, since transpose(x) is clearly a column. Never mind. Thanks.
[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 14:08:15 PDT 2025

Total time taken to generate the page: 0.00391 seconds