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

Home » Public Forums » archive » Gridding options
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: Gridding options [message #21545 is a reply to message #21497] Wed, 30 August 2000 00:00 Go to previous messageGo to previous message
tclement is currently offline  tclement
Messages: 5
Registered: August 2000
Junior Member
In article <onhf82y1wb.fsf@cow.physics.wisc.edu>,
craigmnet@cow.physics.wisc.edu wrote:

> "J.D. Smith" <jdsmith@astro.cornell.edu> writes:
>
>> tt=total(a[(((dy=((di=lindgen(((n=nx<ny)),nx+ny-1)))/n))*(nx gt ny?1:nx)+ $
>> (nx gt ny?1:-1)*((dx=di mod n))*(nx-1))>0<(nx*ny-1)]* $
>> (dy ge dx AND (dy-dx) lt nx>ny),1)

>
> Todd, did you compare the run time?
>

I did, (only after I read your post responding to someones post responding
to that...my news server seems to only get about 30% of the articles
posted here, and so I often don't see things until someone else quotes it
and I see it then) and the new one is faster, except that it dies at
arrays larger than 128x128, and starts giving incorrect values. It seems
like just a "short" integer problem, but heck if I can figure out where it
might be in there!!

The times are as follows (I'm not sure they mean anything for incorrect
results, but here they are anyway):

Array size New (1 line) Craig (2 line)
512x512 0.493 0.615
1024x1024 2.531 3.039
2048x2048 10.523 12.89


Todd
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: list widget
Next Topic: Re: opening and display large file

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

Current Time: Fri Oct 10 06:19:51 PDT 2025

Total time taken to generate the page: 1.75351 seconds