StudentTDistribution constructor

StudentTDistribution(
  1. int degreesOfFreedom
)

Implementation

StudentTDistribution(this.degreesOfFreedom) {
  if (degreesOfFreedom <= 0) {
    throw ArgumentError('degrees of freedom must be positive');
  }
}