# scipy.stats.NumericalInverseHermite.rvs

NumericalInverseHermite.rvs(size=None, random_state=None)

  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
    size int, 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`}, optional

      Defines the object to use for drawing pseudorandom variates. If random_state is `None` the np.random.RandomState singleton is used. If random_state is an `int`, a new `RandomState` instance is used, seeded with random_state. If random_state is already a `RandomState` or `Generator` instance, then that object is used. Default is None.

  Returns
    rvs ndarray or scalar

      Random variates of given size. If size is `None`, a scalar is returned.

scipy.stats.NumericalInverseHermite.qrvs scipy.stats.circmean