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

Home » Public Forums » archive » Re: Is there a standard 'null' array?
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: Is there a standard 'null' array? [message #34581 is a reply to message #34580] Tue, 01 April 2003 10:18 Go to previous messageGo to previous message
JD Smith is currently offline  JD Smith
Messages: 850
Registered: December 1999
Senior Member
On Tue, 01 Apr 2003 11:17:22 -0700, JD Smith wrote:

> On Fri, 28 Mar 2003 09:32:09 -0700, JD Smith wrote:
>
>
>> 2. Be smart about array concatenation. Guess how big your array will
>> be, pre-allocate, and fill it in. If you run out of room, grow the
>> array with concatenation:
>>
>> nacc=1000 ; or whatever vec=fltarr(nacc,/NOZERO)
>
> Sorry, should have been
>
> nacc=1000 ; or whatever vec=fltarr(nacc,/NOZERO)
>
> Silly mailer.

Hmmm, it really wants those lines together. OK, I'll try one more time:


nacc=1000 ; or whatever

vec=fltarr(nacc,/NOZERO)
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: positioning of IDLgrContour object
Next Topic: SEARCH2D VS REGION_GROWTH

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

Current Time: Wed Oct 08 19:30:15 PDT 2025

Total time taken to generate the page: 0.00383 seconds