POV-Ray : Newsgroups : povray.general : Statistical functions Server Time
27 Nov 2024 14:48:33 EST (-0500)
  Statistical functions (Message 1 to 5 of 5)  
From: SharkD
Subject: Statistical functions
Date: 10 Jul 2008 17:20:00
Message: <web.48767ca0803042dae116e5c40@news.povray.org>
Do any of the standard include files already contain functions/macros to
generate random numbers that fit within a beta distribution? If not, I would
like to add one to the Object Collection.

Thanks.

-Mike


Post a reply to this message

From: SharkD
Subject: Re: Statistical functions
Date: 10 Jul 2008 17:25:00
Message: <web.48767daeda9647be116e5c40@news.povray.org>
"SharkD" <nomail@nomail> wrote:
> Do any of the standard include files already contain functions/macros to
> generate random numbers that fit within a beta distribution? If not, I would
> like to add one to the Object Collection.
>
> Thanks.
>
> -Mike

Nevermind. I think I found it in "rand.inc".

-Mike


Post a reply to this message

From: Woody
Subject: Re: Statistical functions
Date: 10 Jul 2008 18:55:00
Message: <web.48769326da9647bd0bdfd6f0@news.povray.org>
"SharkD" <nomail@nomail> wrote:
> "SharkD" <nomail@nomail> wrote:
> > Do any of the standard include files already contain functions/macros to
> > generate random numbers that fit within a beta distribution? If not, I would
> > like to add one to the Object Collection.
> >
> > Thanks.
> >
> > -Mike
>
> Nevermind. I think I found it in "rand.inc".
>
> -Mike

If I may inquire what are you using the Beta distribution for?


Post a reply to this message

From: SharkD
Subject: Re: Statistical functions
Date: 10 Jul 2008 20:25:00
Message: <web.4876a81ada9647be116e5c40@news.povray.org>
"Woody" <nomail@nomail> wrote:
> If I may inquire what are you using the Beta distribution for?

I want some random numbers to be weighted toward a particular range.

-Mike


Post a reply to this message

From: Nicolas Alvarez
Subject: Re: Statistical functions - offtopic
Date: 14 Jul 2008 23:35:59
Message: <487c1b1e@news.povray.org>
SharkD wrote:
> "SharkD" <nomail@nomail> wrote:
>> Do any of the standard include files already contain functions/macros to
>> generate random numbers that fit within a beta distribution? If not, I
>> would like to add one to the Object Collection.
> 
> Nevermind. I think I found it in "rand.inc".

I believe you followed everything in "How to ask questions the smart way"
guide. You searched before asking, continued searching after asking, and
replied with the answer when you found it.

Most annoying thing I see when people in web forums *edit* their original
post with "nevermind found it". They not only don't post what they found
for other people who may be interested, but they also delete the question,
so then people don't even know what he wanted (and curiosity kills cats
worldwide).


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.