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

Home » Public Forums » archive » Re: Strange array division problem
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: Strange array division problem [message #66277] Wed, 06 May 2009 20:08 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Dave Klassen writes:

> Hmmm...really?
> IDL> a=3D[[2,1],[3,4]]
> IDL> print,a
> 2 1
> 3 4
> IDL> v=3D[5,6]
> IDL> print,v
> 5 6
> IDL> print,a##v
> 16
> 39
> Which leads me to my original thought.
>
> But, then again:
> IDL> print,a#v
> 28 29
>
> So I guess IDL figures a vector is whatever it need to be...?

I think a thorough reading the the Dimensional Juggling
and Array Concatenation tutorials should clear up any
confusion:

http://www.dfanning.com/tips/rebin_magic.html
http://www.dfanning.com/tips/array_concatenation.html

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: remove duplicate elements from a multi-dimensional array efficiently in IDL
Next Topic: How to judge a Function's parameters ?

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

Current Time: Wed Oct 08 15:53:05 PDT 2025

Total time taken to generate the page: 0.00445 seconds