Public Member Functions |
Static Public Member Functions |
Protected Member Functions |
List of all members
npstat::DistributionMixND Class Reference
Inheritance diagram for npstat::DistributionMixND:
Member Function Documentation◆ add()
Add a component to the mixture. Weight must be positive. All weights will be normalized internally so that their sum is 1. ◆ classId()
Prototype needed for I/O Implements npstat::AbsDistributionND. ◆ clone()
"Virtual copy constructor" Implements npstat::AbsDistributionND. ◆ density()
Probability density Implements npstat::AbsDistributionND. ◆ getComponent()
Get the mixture component with the given number ◆ getWeight()
Get the component weight ◆ mappedByQuantiles()
The following method should return "true" in case the "unitMap" method is implemented by a sequence of conditional quantile functions. Distributions with such maps permit quantile-based interpolation procedures. Implements npstat::AbsDistributionND. ◆ nComponents()
Number of mixture components ◆ random()
Random number generator according to the given distribution. Should return the number of random points used up from the generator. Length of the provided buffer "x" should be equal to the function dimensionality. Reimplemented from npstat::AbsDistributionND. ◆ setWeights()
Set all weights. Number of weights provided should be equal to the number of components. Weights will be normalized internally. ◆ unitMap()
Mapping from the unit hypercube into the density support region. Note that "bufLen" does not have to be equal to the dimensionality of the function. There may be an efficient way to generate just the leading dimensions in case "bufLen" is smaller than the dimensionality. Implements npstat::AbsDistributionND. The documentation for this class was generated from the following file:
Generated by 1.9.1 |