Accord.Statistics.Distributions.Univariate.FDistribution.FDistribution C# (CSharp) Method

FDistribution() public method

Constructs a F-distribution with the given degrees of freedom.
public FDistribution ( int degrees1, int degrees2 ) : System
degrees1 int The first degree of freedom.
degrees2 int The second degree of freedom.
return System
        public FDistribution(int degrees1, int degrees2)
        {
            d1 = degrees1;
            d2 = degrees2;

            b = Special.Beta(degrees1*0.5, degrees2*0.5);
        }