Return a pseudorandom inverse chi squared variate with the nu degrees of freedom using the specified random number generator.
nu can be a scalar or a one-dimensional container.
- Template Parameters
-
T_deg | Type of degrees of freedom parameter |
RNG | class of random number generator |
- Parameters
-
nu | (Sequence of) positive degrees of freedom parameter(s) |
rng | random number generator |
- Returns
- (Sequence of) inverse chi squared random variate(s)
- Exceptions
-
std::domain_error | if nu is nonpositive |
Definition at line 28 of file inv_chi_square_rng.hpp.