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 #28265 is a reply to message #28264] Tue, 27 November 2001 13:36 Go to previous messageGo to previous message
Pavel A. Romashkin is currently offline  Pavel A. Romashkin
Messages: 531
Registered: November 2000
Senior Member
Paul van Delst wrote:
>
> IDL> help, x[*,*,1]
> <Expression> FLOAT = Array[100]
> IDL>
>
> i.e. to give:
> <Expression> FLOAT = Array[100,1]

Now this is almost asking for magic. It would be more reasonable to ask for

<Expression> FLOAT = Array[100,1,1] :)

Of course,

s = size(x)
help, reform(x, s[1], 1)

But I think this was brought up so many times that by now it should be
on the request to RSI list. I mean, not truncating the empty dimension.
Those wanting truncation easily could use Reform, or a compile option
could be introduced to toggle this behavior.

Pavel
[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: Sat Oct 11 12:32:50 PDT 2025

Total time taken to generate the page: 0.08262 seconds