![]() |
Lightmetrica
0.0.1.50dbee3 (yosakoi)
|
#include <math.distribution.h>
Public Member Functions | |
| void | Add (const Math::Float &v) |
| void | Normalize () |
| size_t | Sample (const Math::Float &u) const |
| Math::Float | EvaluatePDF (int i) const |
| void | Clear () |
| bool | Empty () const |
Discrete 1D distribution. Offers interface for creating and sampling from 1D discrete PDF.
1.8.8