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

Home » Public Forums » archive » Re: Automatic truncation of trailing dimension.....
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: Automatic truncation of trailing dimension..... [message #28251 is a reply to message #28250] Tue, 27 November 2001 17:48 Go to previous messageGo to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
tam <tam@lheapop.gsfc.nasa.gov> writes:

> Paul van Delst wrote:
>>
>> .....of an array when the dimension size is 1 is a real pain in the ass. Given:
...
>
> Under our previous president I guess I would have said
>
> "I feel your pain"
>
> but now it's
>
> "This is evil."
>
> You might find:
>
> < http://groups.google.com/groups?q=dimension+trailing&hl= en&group=comp.lang.idl-pvwave&rnum=8&selm=onlngh jin1.fsf%40cow.physics.wisc.edu>
>
> to be helpful.

What he said, errr, I mean, what I said.

Actually, that particular thread was a little more specialized than
Paul's complaint. Paul, I totally agree with you that dropping the
final unit-dimension is bogus, but the quoted post was premised upon
it happening, and then showing that there were *still* surprises after
that.

For example, the statement "A = DBLARR(N1, N2, N3)" can surprisingly
produce a two- or one-dimensional array!

Or, REFORM() does not work on scalars.

Craig

--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@cow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: New All-Time Records on IDL Newsgroup
Next Topic: Segmentation of Image

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

Current Time: Fri Oct 10 22:41:06 PDT 2025

Total time taken to generate the page: 1.36067 seconds