Public Member Functions |
Static Public Member Functions |
Protected Member Functions |
Protected Attributes |
List of all members
npstat::EllipticalDistribution Class Reference
Inheritance diagram for npstat::EllipticalDistribution:
Constructor & Destructor Documentation◆ EllipticalDistribution()
The constructor arguments are as follows: location, dim The shift and the dimensionality of the distribution. The array "location" must have at least "dim" elements. transformationMatrix The square matrix for generating random variables from this density according to x = location + transformationMatrix*y, where y is a spherically distributed random variable. For multivariate normal, transformationMatrix is the square root of the covariance matrix. gDistro The "generator" distribution. The multivariate density is going to be proportional to gDistro.density(chi-square), where chi-square variable is constructed as in the multivariate normal. Must have gDistro.quantile(0.0) = 0.0. hDistro Distribution of the r^2 variable. Must have hDistro.quantile(0.0) = 0.0. Member Function Documentation◆ chiSquare()
This function returns the value of the quadratic form ◆ classId()
Prototype needed for I/O Implements npstat::AbsDistributionND. Reimplemented in npstat::EllipticalPearsonTypeII, npstat::EllipticalPearsonTypeVII, npstat::EllipticalKotz, and npstat::EllipticalNormal. ◆ clone()
"Virtual copy constructor" Implements npstat::AbsDistributionND. ◆ density()
◆ 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. ◆ 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. ◆ 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 |