public NoncentralTDistribution([Positive] double degreesOfFreedom, [Real] double noncentrality) { if (degreesOfFreedom <= 0) { throw new ArgumentOutOfRangeException("degreesOfFreedom", "The number of degrees of freedom must be positive."); } this.v = degreesOfFreedom; this.u = noncentrality; }