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

Home » Public Forums » archive » Re: Dimensional confusion
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Dimensional confusion [message #82109] Tue, 20 November 2012 07:03
cgguido is currently offline  cgguido
Messages: 195
Registered: August 2005
Senior Member
Also,

c = [a,[0,0]##1] though this seems to make c into a long array, not an int one.
Re: Dimensional confusion [message #82111 is a reply to message #82109] Tue, 20 November 2012 06:23 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Helder writes:

> when I tried value_locate('array concatenation') on google I also got to that rebin headache. Too many square brackets :-)

You should blame JD, not me. :-)

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
Re: Dimensional confusion [message #82113 is a reply to message #82111] Tue, 20 November 2012 06:19 Go to previous message
Helder Marchetto is currently offline  Helder Marchetto
Messages: 520
Registered: November 2011
Senior Member
On Tuesday, November 20, 2012 3:14:31 PM UTC+1, David Fanning wrote:
> David Fanning writes:
>
>
>
>> Of course, you *could* have just read the Dimensional Juggling
>
> Tutorial.
>
>> But it wouldn't have been as much fun. :-)
>
>>
>
>> http://www.idlcoyote.com/tips/rebin_magic.html
>
>
>
> Whoops! I meant the Array Concatenation Tutorial, but I
>
> always locate it by going through the Juggling Tutorial:
>
>
>
> http://www.idlcoyote.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 thue. ("Perhaps thou speakest truth.")

Yeah,
when I tried value_locate('array concatenation') on google I also got to that rebin headache. Too many square brackets :-)

Thanks,
Helder
Re: Dimensional confusion [message #82114 is a reply to message #82113] Tue, 20 November 2012 06:14 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
David Fanning writes:

> Of course, you *could* have just read the Dimensional Juggling
Tutorial.
> But it wouldn't have been as much fun. :-)
>
> http://www.idlcoyote.com/tips/rebin_magic.html

Whoops! I meant the Array Concatenation Tutorial, but I
always locate it by going through the Juggling Tutorial:

http://www.idlcoyote.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 thue. ("Perhaps thou speakest truth.")
Re: Dimensional confusion [message #82115 is a reply to message #82114] Tue, 20 November 2012 06:11 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Helder writes:

> I was just trying to add an element to an array and got a bit confused with the dimensions. Therefore I wrote a post to ask for a solution and then feeling that the answer to the question couldn't be hard, I kept fighting for a solution until I got one... Therefore I'm posting question and answer. Now I'm maybe less confused about dimensions, but for sure more confused about the use of a group!

I've been using the group this way for years. Best way to use it!

Of course, you *could* have just read the Dimensional Juggling Tutorial.
But it wouldn't have been as much fun. :-)

http://www.idlcoyote.com/tips/rebin_magic.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 thue. ("Perhaps thou speakest truth.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Curve Fitting Question
Next Topic: !M in IDL8

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

Current Time: Fri Oct 10 04:38:21 PDT 2025

Total time taken to generate the page: 1.43921 seconds