Standard Normal Distribution z-value function in C#

前端 未结 5 927
日久生厌
日久生厌 2021-02-05 08:04

I been looking at the recent blog post by Jeff Atwood on Alternate Sorting Orders. I tried to convert the code in the post to C# but I ran into an issue. There is no function in

5条回答
  •  离开以前
    2021-02-05 08:14

    For a newer version of MathNet

        //standard normal cumulative distribution function
        static double F(double x)
        {
            MathNet.Numerics.Distributions.Normal result = new MathNet.Numerics.Distributions.Normal();
            return result.CumulativeDistribution(x);
        }
    

提交回复
热议问题