rStudentT

Function to generate random observation from a Student's t-distribution.

  1. T rStudentT(T shape)
  2. T rStudentT(UniformRNG rng, T shape)
    T
    rStudentT
    (
    T = double
    UniformRNG
    )
    (
    ref UniformRNG rng
    ,)
    if (
    isFloatingPoint!T &&
    isUniformRNG!UniformRNG
    )

Examples

auto x = rStudentT(2.0) * 5;

Meta