class_docstr: Class that defines operations using a hyperbolic metric.
class_docstr_tok: ["Class","that","defines","operations","using","a","hyperbolic","metric","."]
docstr: Compute the radius of the injectivity domain.
  
  This is is the supremum of radii r for which the exponential map is a
  diffeomorphism from the open ball of radius r centered at the base
  point onto its image.
  In the case of the hyperbolic space, it does not depend on the base
  point and is infinite everywhere, because of the negative curvature.
  
  Parameters
  ----------
  base_point : array-like, shape=[..., dim+1]
      Point on the manifold.
  
  Returns
  -------
  radius : array-like, shape=[...,]
      Injectivity radius.
docstr_tok: ["Compute","the","radius","of","the","injectivity","domain",".","This","is","is","the","supremum","of","radii","r","for","which","the","exponential","map","is","a","diffeomorphism","from","the","open","ball","of","radius","r","centered","at","the","base","point","onto","its","image",".","In","the","case","of","the","hyperbolic","space",",","it","does","not","depend","on","the","base","point","and","is","infinite","everywhere",",","because","of","the","negative","curvature",".","Parameters","--","--","--","--","--","base_point",":","array-like",",","shape=","[","...",",","dim+1","]","Point","on","the","manifold",".","Returns","--","--","--","-","radius",":","array-like",",","shape=","[","...",",","]","Injectivity","radius","."]
code: def injectivity_radius(self, base_point):
      """Compute the radius of the injectivity domain.
  
      This is is the supremum of radii r for which the exponential map is a
      diffeomorphism from the open ball of radius r centered at the base
      point onto its image.
      In the case of the hyperbolic space, it does not depend on the base
      point and is infinite everywhere, because of the negative curvature.
  
      Parameters
      ----------
      base_point : array-like, shape=[..., dim+1]
          Point on the manifold.
  
      Returns
      -------
      radius : array-like, shape=[...,]
          Injectivity radius.
      """
      radius = gs.array(math.inf)
      return repeat_out(self._space.point_ndim, radius, base_point)
  
imports: import math
  import geomstats.algebra_utils
  import geomstats.backend
  from geomstats.geometry._hyperbolic import HyperbolicMetric, _Hyperbolic
  from geomstats.geometry.base import LevelSet
  from geomstats.geometry.minkowski import Minkowski
  from geomstats.vectorization import repeat_out
label_desc: Use image node_id 9 for calling the HyperboloidMetric obj's underlying member method code with example usage: obj.injectivity_radius(base_point) and returns: repeat_out