librtl

rtl_lognormal Class Reference

Lognormal distribution of random variate. More...

#include <distributions.h>

List of all members.

Public Members


Detailed Description

Lognormal distribution of random variate.

Produce a sequence of random variables according to the lognormal distribution given a mean and a variance. This class is included for improving stochastic sampling for light transfer.


Member Function Documentation

rtl_lognormal::rtl_lognormal( jFlt=1.0, jFlt=1.0 )

Construction given a certain mean and variance.

jFlt rtl_lognormal::x()

Returns an independent and identically distributed random variable in the lognormal distribution with mean and standard deviation that was defined on construction.


The documentation for this class was generated from the following file:
JSP / librtl v0.2 mtigges@cpsc.ucalgary.ca