POV-Ray : Newsgroups : povray.advanced-users : Normal distribution : Re: Normal distribution Server Time
28 Jul 2024 18:17:23 EDT (-0400)
  Re: Normal distribution  
From: ingo
Date: 5 May 2004 18:15:35
Message: <Xns94E12A3B686Eseed7@news.povray.org>
in news:40995621@news.povray.org Andrew C on Mozilla wrote:

> Any idea how to transform these into normally distributed numbers?
> 

From "rand.inc"

Rand_Normal(Mu, Sigma, Stream). Normal distribution.
Parameters: 
Mu = Mean. 
Sigma = Standard deviation. 
Stream = Random number stream. 

Rand_Gauss(Mu, Sigma, Stream). Gaussian distribution. Like Rand_Normal
(), but a bit faster.
Parameters: 
Mu = Mean. 
Sigma = Standard deviation. 
Stream = Random number stream. 


Ingo


Post a reply to this message

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