diff --git a/src/Numerics/Distributions/Discrete/Categorical.cs b/src/Numerics/Distributions/Discrete/Categorical.cs index c93cfc6c..f27ff56c 100644 --- a/src/Numerics/Distributions/Discrete/Categorical.cs +++ b/src/Numerics/Distributions/Discrete/Categorical.cs @@ -435,7 +435,7 @@ namespace MathNet.Numerics.Distributions /// A real number between 0 and 1. /// An integer between 0 and the size of the categorical (exclusive), /// that corresponds to the inverse CDF for the given probability. - public static int InverseDistributionFunction(double[] normalizedCDF, double probability) + public static int InverseCumulativeDistribution(double[] normalizedCDF, double probability) { if (Control.CheckDistributionParameters) {