code: def multivariate_hypergeometric_expval(n, m):
      
      m = np.asarray(m, float)
      return n * (m / m.sum())
docs: Expected value of multivariate hypergeometric distribution.
  
      Parameters:
        - `n` : Number of draws.
        - `m` : Number of items in each categoy.