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

Home » Public Forums » archive » Random Sampling Without Replacement
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 Sampling Without Replacement [message #72949 is a reply to message #72875] Thu, 14 October 2010 03:44 Go to previous messageGo to previous message
Heinz Stege is currently offline  Heinz Stege
Messages: 189
Registered: January 2003
Senior Member
On Wed, 13 Oct 2010 21:19:16 -0600, David Fanning wrote:

> Heinz Stege writes:
>
>> Of course we should add the seed to the parameter list:
>>
>> function unique_random,n,m,seed
>
> Actually, you should probably put the seed in a common
> block, or an awful lot of your "sampling" sequences
> are going to look a hell of a lot alike. :-)
>
> Cheers,
>
> David

Okay, I see. What I wanted to say is, that one has to take care of the
seed. And it is my preference, to put it into the parameter list.

I am afraid, that I would forget about the today's common block, and
generate a second one within another routine in half a year. :-)

Greetings, Heinz
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Sorry - that should not go here. [NT]
Next Topic: Accelerating "for "loops

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

Current Time: Fri Oct 10 09:08:37 PDT 2025

Total time taken to generate the page: 1.04057 seconds