Browse Source

Categorical: rename inverse CDF function

v2
Christoph Ruegg 13 years ago
parent
commit
dbac1e1de5
  1. 2
      src/Numerics/Distributions/Discrete/Categorical.cs

2
src/Numerics/Distributions/Discrete/Categorical.cs

@ -435,7 +435,7 @@ namespace MathNet.Numerics.Distributions
/// <param name="probability">A real number between 0 and 1.</param> /// <param name="probability">A real number between 0 and 1.</param>
/// <returns>An integer between 0 and the size of the categorical (exclusive), /// <returns>An integer between 0 and the size of the categorical (exclusive),
/// that corresponds to the inverse CDF for the given probability.</returns> /// that corresponds to the inverse CDF for the given probability.</returns>
public static int InverseDistributionFunction(double[] normalizedCDF, double probability) public static int InverseCumulativeDistribution(double[] normalizedCDF, double probability)
{ {
if (Control.CheckDistributionParameters) if (Control.CheckDistributionParameters)
{ {

Loading…
Cancel
Save