class_docstr: Class for the Hypersphere Metric.
docstr: Compute the geodesic distance between two points.
  
  Parameters
  ----------
  point_a : array-like, shape=[..., dim + 1]
      First point on the hypersphere.
  point_b : array-like, shape=[..., dim + 1]
      Second point on the hypersphere.
  
  Returns
  -------
  dist : array-like, shape=[..., 1]
      Geodesic distance between the two points.
docstr_tok: ["Compute","the","geodesic","distance","between","two","points",".","Parameters","--","--","--","--","--","point_a",":","array-like",",","shape=","[","...",",","dim","+","1","]","First","point","on","the","hypersphere",".","point_b",":","array-like",",","shape=","[","...",",","dim","+","1","]","Second","point","on","the","hypersphere",".","Returns","--","--","--","-","dist",":","array-like",",","shape=","[","...",",","1","]","Geodesic","distance","between","the","two","points","."]
code: def dist(self, point_a, point_b):
      """Compute the geodesic distance between two points.
  
      Parameters
      ----------
      point_a : array-like, shape=[..., dim + 1]
          First point on the hypersphere.
      point_b : array-like, shape=[..., dim + 1]
          Second point on the hypersphere.
  
      Returns
      -------
      dist : array-like, shape=[..., 1]
          Geodesic distance between the two points.
      """
      embedding_metric = self._space.embedding_space.metric
      norm_a = embedding_metric.norm(point_a)
      norm_b = embedding_metric.norm(point_b)
      inner_prod = embedding_metric.inner_product(point_a, point_b)
  
      cos_angle = inner_prod / (norm_a * norm_b)
      cos_angle = gs.clip(cos_angle, -1, 1)
  
      return gs.arccos(cos_angle)
  
imports: import logging
  import math
  from itertools import product
  from scipy.stats import beta
  import geomstats.algebra_utils
  import geomstats.backend
  from geomstats.geometry.base import LevelSet
  from geomstats.geometry.euclidean import Euclidean
  from geomstats.geometry.riemannian_metric import RiemannianMetric
  from geomstats.vectorization import get_batch_shape, repeat_out
label_desc: Use image node_id 6 for calling the HypersphereMetric obj's underlying member method code with example usage: obj.dist(point_a, point_b) and returns: gs