class_docstr: Student Skew t Distribution
  ----
  This class contains methods relating to the Student Skew t distribution for time series.
docstr: Generates random variables from a Skew t distribution
  
  Parameters
  ----------  
  df : float
      degrees of freedom parameter
  
  gamma : float
      skewness parameter
  
  n : int or list
      Number of simulations to perform; if list input, produces array
docstr_tok: ["Generates","random","variables","from","a","Skew","t","distribution","Parameters","--","--","--","--","--","df",":","float","degrees","of","freedom","parameter","gamma",":","float","skewness","parameter","n",":","int","or","list","Number","of","simulations","to","perform",";","if","list","input",",","produces","array"]
code: def rvs(df, gamma, n):
      """Generates random variables from a Skew t distribution
  
      Parameters
      ----------
      df : float
          degrees of freedom parameter
  
      gamma : float
          skewness parameter
  
      n : int or list
          Number of simulations to perform; if list input, produces array
  
      """
  
      if type(n) == list:
          u = np.random.uniform(size=n[0] * n[1])
          result = Skewt.ppf(q=u, df=df, gamma=gamma)
          result = np.split(result, n[0])
          return np.array(result)
      else:
          u = np.random.uniform(size=n)
          if isinstance(df, np.ndarray) or isinstance(
              gamma, np.ndarray
          ):
              return np.array(
                  [
                      Skewt.ppf(
                          q=np.array([u[i]]), df=df[i], gamma=gamma[i]
                      )[0]
                      for i in range(n)
                  ]
              )
          else:
              return Skewt.ppf(q=u, df=df, gamma=gamma)
  
imports: import numpy
  import scipy.stats
  import scipy.special
  from .family import Family
  from .flat import Flat
  from .normal import Normal
  from .gas_recursions import gas_recursion_skewt_orderone, gas_recursion_skewt_ordertwo
  from .gas_recursions import gasx_recursion_skewt_orderone, gasx_recursion_skewt_ordertwo
  from .gas_recursions import gas_llev_recursion_skewt_orderone, gas_llev_recursion_skewt_ordertwo
  from .gas_recursions import gas_llt_recursion_skewt_orderone, gas_llt_recursion_skewt_ordertwo
  from .gas_recursions import gas_reg_recursion_skewt_orderone, gas_reg_recursion_skewt_ordertwo
label_desc: Use image node_id 7 for calling the Skewt obj's underlying member method code with example usage: obj.rvs(df, gamma, n) and returns: np, np, Skewt