rStudent¶
- rStudent(*args)¶
Realization of a scalar Student distribution.
- Parameters:
- nufloat,
The parameter.
- sizeint
The number of realizations (optional).
Default value is 1.
- Returns:
- realizationfloat or a sequence of float
The realizations of the distribution.
Notes
The probability density function is defined as:
with .
Examples
>>> import openturns as ot >>> ot.RandomGenerator.SetSeed(0) >>> r = ot.DistFunc.rStudent(2.5) >>> r = ot.DistFunc.rStudent(2.5, 10)