Skip to main content
`Ctrl`+`K`
scipy.stats.sampling.NumericalInverseHermite.

# rvs

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

  Sample from the distribution.

  Parameters:
    size int or tuple, optional

      The shape of samples. Default is `None` in which case a scalar sample is returned.

    random_state{None, int, `numpy.random.Generator`,

      > `numpy.random.RandomState`}, optional

      A NumPy random number generator or seed for the underlying NumPy random number generator used to generate the stream of uniform random numbers. If random_state is None (or np.random), random_state provided during initialization is used. If random_state is an int, a new `RandomState` instance is used, seeded with random_state. If random_state is already a `Generator` or `RandomState` instance then that instance is used.

  Returns:
    rvs array_like

      A NumPy array of random variates.