class_docstr: Class for the manifold of Gamma distributions.
  
  This is :math:`Gamma = (R_+^*)^2`, the positive quadrant of the
  2-dimensional Euclidean space.
class_docstr_tok: ["Class","for","the","manifold","of","Gamma","distributions",".","This","is",":","math",":","`","Gamma","=","(","R_+^","*",")","^2","`",",","the","positive","quadrant","of","the","2-dimensional","Euclidean","space","."]
docstr: Compute pdf associated to point.
  
  Compute the probability density function of the Gamma
  distribution with parameters provided by point.
  
  Parameters
  ----------
  point : array-like, shape=[..., dim]
      Point representing a Gamma distribution.
  
  Returns
  -------
  pdf : function
      Probability density function of the Gamma distribution with
      parameters provided by point.
docstr_tok: ["Compute","pdf","associated","to","point",".","Compute","the","probability","density","function","of","the","Gamma","distribution","with","parameters","provided","by","point",".","Parameters","--","--","--","--","--","point",":","array-like",",","shape=","[","...",",","dim","]","Point","representing","a","Gamma","distribution",".","Returns","--","--","--","-","pdf",":","function","Probability","density","function","of","the","Gamma","distribution","with","parameters","provided","by","point","."]
code: def point_to_pdf(self, point):
      """Compute pdf associated to point.
  
      Compute the probability density function of the Gamma
      distribution with parameters provided by point.
  
      Parameters
      ----------
      point : array-like, shape=[..., dim]
          Point representing a Gamma distribution.
  
      Returns
      -------
      pdf : function
          Probability density function of the Gamma distribution with
          parameters provided by point.
      """
      kappa = gs.expand_dims(point[..., 0], axis=-1)
      gamma = gs.expand_dims(point[..., 1], axis=-1)
  
      def pdf(x):
          """Generate parameterized function for Gamma pdf.
  
          Parameters
          ----------
          x : array-like, shape=[n_samples,]
              Points at which to compute the probability
              density function.
  
          Returns
          -------
          pdf_at_x : array-like, shape=[..., n_samples]
              Values of pdf at x for each value of the parameters provided
              by point.
          """
          x = gs.reshape(gs.array(x), (-1,))
          return (
              kappa**kappa
              * x ** (kappa - 1)
              * gs.exp(-kappa * x / gamma)
              / (gamma**kappa * gs.gamma(kappa))
          )
  
      return pdf
  
imports: from scipy.stats import gamma
  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, ScipyUnivariateRandomVariable
  from geomstats.numerics.bvp import ScipySolveBVP
  from geomstats.numerics.geodesic import ExpODESolver, LogODESolver
  from geomstats.numerics.ivp import ScipySolveIVP
  from geomstats.vectorization import check_is_batch
label_desc: Use image node_id 7 for calling the GammaDistributions obj's underlying member method code with example usage: obj.point_to_pdf(point) and returns: pdf, unknown