|
Open PaperOpt
|
#include <DistributionConstant.h>


Public Member Functions | |
| DistributionConstant (double Value) | |
| ~DistributionConstant (void) | |
| double | GenerateRandomNumber () const |
| DistributionConstant::DistributionConstant | ( | double | Value | ) |
Constructor.
| value | Value to assign. |
| DistributionConstant::~DistributionConstant | ( | void | ) |
Destructor.
| double DistributionConstant::GenerateRandomNumber | ( | void | ) | const [inline, virtual] |
Returns the associated constant.
Generates a random number that depends on the wavelength. Distributions that want to generate wavelength dependant values are free to override this function. The default function just calls GenerateRandomNumber().
| NbrLambda | Number indicating which wavelength to use. |
Reimplemented from Distributions::Distribution.