class_docstr: A multivariate random variable.
class_docstr_tok: ["A","multivariate","random","variable","."]
docstr: Sample from a multivariate distribution.
  
  Parameters
  ----------
  point : array-like, shape=[..., *space.shape]
      Point representing a distribution.
  n_samples : int
      Number of points to sample with each pair of parameters in point.
      Optional, default: 1.
  
  Returns
  -------
  samples : array-like, shape=[..., n_samples, *support_shape]
      Sample from distribution.
docstr_tok: ["Sample","from","a","multivariate","distribution",".","Parameters","--","--","--","--","--","point",":","array-like",",","shape=","[","...",",","*","space.shape","]","Point","representing","a","distribution",".","n_samples",":","int","Number","of","points","to","sample","with","each","pair","of","parameters","in","point",".","Optional",",","default",":","1",".","Returns","--","--","--","-","samples",":","array-like",",","shape=","[","...",",","n_samples",",","*","support_shape","]","Sample","from","distribution","."]
code: def rvs(self, point, n_samples=1):
      """Sample from a multivariate distribution.
  
      Parameters
      ----------
      point : array-like, shape=[..., *space.shape]
          Point representing a distribution.
      n_samples : int
          Number of points to sample with each pair of parameters in point.
          Optional, default: 1.
  
      Returns
      -------
      samples : array-like, shape=[..., n_samples, *support_shape]
          Sample from distribution.
      """
      if point.ndim > self.space.point_ndim:
          return gs.stack(
              [self._rvs_single(point_, n_samples) for point_ in point]
          )
  
      return self._rvs_single(point, n_samples)
  
imports: import math
  import geomstats.backend
  from geomstats.vectorization import get_batch_shape
label_desc: Use image node_id 2 for calling the ScipyMultivariateRandomVariable obj's underlying member method code with example usage: obj.rvs(point, n_samples) and returns: self, gs