scipy.stats.NumericalInverseHermite.rvs¶
-
NumericalInverseHermite.
rvs
(size=None, random_state=None)[source]¶ Random variates of the given RV.
The random_state is used to draw uniform pseudo-random variates, and these are converted to pseudo-random variates of the given RV using inverse transform sampling.
- Parameters
- sizeint, tuple of ints, or None; optional
Defines shape of array of random variates. Default is
None
.- random_state{None, int,
numpy.random.Generator
, numpy.random.RandomState
}, optionalDefines the object to use for drawing pseudorandom variates. If random_state is
None
the np.random.RandomState singleton is used. If random_state is anint
, a newRandomState
instance is used, seeded with random_state. If random_state is already aRandomState
orGenerator
instance, then that object is used. Default is None.
- Returns
- rvsndarray or scalar
Random variates of given size. If size is
None
, a scalar is returned.