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

Home » Public Forums » archive » Re: Random selection
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: Random selection [message #51251 is a reply to message #51250] Sat, 11 November 2006 12:45 Go to previous messageGo to previous message
Jean H. is currently offline  Jean H.
Messages: 472
Registered: July 2006
Senior Member
> Well, it probably should be
>
> indices = (Round(Randomu(seed, 100) * 1000) < 999
>
> But you get the idea. :-)
>
> Cheers,
>
> David

though the same index could be repeated... the "sort" method (cf Kenneth
post) is really, I believe, the only one that return only different index!

Jean
[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: colorbar positioning in postscript
Next Topic: canonical correlations

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

Current Time: Wed Oct 08 18:58:53 PDT 2025

Total time taken to generate the page: 0.00523 seconds