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

Home » Public Forums » archive » Random ordering
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Random ordering [message #35530] Tue, 24 June 2003 13:09
the_cacc is currently offline  the_cacc
Messages: 104
Registered: October 2001
Senior Member
Yo,

Stuck again. I want to create an integer 1D array from 0 to n (n ~
100) so that the numbers are in jumbled up order so that "nearby"
numbers, eg. ABS(difference) < 3, are "far" apart. I think there must
be a nice way using MOD rather than bludging it with RANDOMU. Anyone
got any suggestions?

Ciao.
[Message index]
 
Read Message
Previous Topic: Re: IDLgrPolygon borders
Next Topic: Re: Random ordering

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

Current Time: Wed Oct 08 14:52:28 PDT 2025

Total time taken to generate the page: 0.00411 seconds