class_docstr: Class for the manifold of Dirichlet distributions.
  
  This is Dirichlet = :math:`(R_+^*)^dim`, the positive quadrant of the
  dim-dimensional Euclidean space.
  
  Attributes
  ----------
  dim : int
      Dimension of the manifold of Dirichlet distributions.
class_docstr_tok: ["Class","for","the","manifold","of","Dirichlet","distributions",".","This","is","Dirichlet","=",":","math",":","`","(","R_+^","*",")","^dim","`",",","the","positive","quadrant","of","the","dim-dimensional","Euclidean","space",".","Attributes","--","--","--","--","--","dim",":","int","Dimension","of","the","manifold","of","Dirichlet","distributions","."]
docstr: Sample parameters of Dirichlet distributions.
  
  The uniform distribution on [0, bound]^dim is used.
  
  Parameters
  ----------
  n_samples : int
      Number of samples.
      Optional, default: 1.
  bound : float
      Side of the square where the Dirichlet parameters are sampled.
      Optional, default: 5.
  
  Returns
  -------
  samples : array-like, shape=[..., dim]
      Sample of points representing Dirichlet distributions.
docstr_tok: ["Sample","parameters","of","Dirichlet","distributions",".","The","uniform","distribution","on","[","0",",","bound","]","^dim","is","used",".","Parameters","--","--","--","--","--","n_samples",":","int","Number","of","samples",".","Optional",",","default",":","1.","bound",":","float","Side","of","the","square","where","the","Dirichlet","parameters","are","sampled",".","Optional",",","default",":","5",".","Returns","--","--","--","-","samples",":","array-like",",","shape=","[","...",",","dim","]","Sample","of","points","representing","Dirichlet","distributions","."]
code: def random_point(self, n_samples=1, bound=5.0):
      """Sample parameters of Dirichlet distributions.
  
      The uniform distribution on [0, bound]^dim is used.
  
      Parameters
      ----------
      n_samples : int
          Number of samples.
          Optional, default: 1.
      bound : float
          Side of the square where the Dirichlet parameters are sampled.
          Optional, default: 5.
  
      Returns
      -------
      samples : array-like, shape=[..., dim]
          Sample of points representing Dirichlet distributions.
      """
      size = (self.dim,) if n_samples == 1 else (n_samples, self.dim)
      return bound * gs.random.rand(*size)
  
imports: import math
  import numpy
  from scipy.optimize import minimize
  from scipy.stats import dirichlet
  import geomstats.backend
  from geomstats.algebra_utils import from_vector_to_diagonal_matrix
  from geomstats.geometry.base import VectorSpaceOpenSet
  from geomstats.geometry.euclidean import Euclidean
  from geomstats.geometry.riemannian_metric import RiemannianMetric
  from geomstats.information_geometry.base import InformationManifoldMixin, ScipyMultivariateRandomVariable
  from geomstats.numerics.bvp import ScipySolveBVP
  from geomstats.numerics.geodesic import ExpODESolver, LogODESolver
  from geomstats.numerics.ivp import ScipySolveIVP
  from geomstats.vectorization import repeat_out
label_desc: Use image node_id 4 for calling the DirichletDistributions obj's underlying member method code with example usage: obj.random_point(n_samples, bound) and returns: unknown