class_docstr: Class for the metric of the n-dimensional hyperbolic space.
  
  Class for the metric of the n-dimensional hyperbolic space
  as embedded in the Poincaré half space model.
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]
      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","]","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]
          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.backend
  from geomstats.geometry._hyperbolic import _Hyperbolic
  from geomstats.geometry.base import VectorSpaceOpenSet
  from geomstats.geometry.euclidean import Euclidean
  from geomstats.geometry.poincare_ball import PoincareBall
  from geomstats.geometry.riemannian_metric import RiemannianMetric
  from geomstats.vectorization import repeat_out
label_desc: Use image node_id 5 for calling the PoincareHalfSpaceMetric obj's underlying member method code with example usage: obj.injectivity_radius(base_point) and returns: repeat_out