class_docstr: Class that defines operations using a hyperbolic metric.
class_docstr_tok: ["Class","that","defines","operations","using","a","hyperbolic","metric","."]
docstr: Compute the inner-product of two tangent vectors at a base point.
  
  Parameters
  ----------
  tangent_vec_a : array-like, shape=[..., dim + 1]
      First tangent vector at base point.
  tangent_vec_b : array-like, shape=[..., dim + 1]
      Second tangent vector at base point.
  base_point : array-like, shape=[..., dim + 1], optional
      Point in hyperbolic space.
  
  Returns
  -------
  inner_prod : array-like, shape=[...,]
      Inner-product of the two tangent vectors.
docstr_tok: ["Compute","the","inner-product","of","two","tangent","vectors","at","a","base","point",".","Parameters","--","--","--","--","--","tangent_vec_a",":","array-like",",","shape=","[","...",",","dim","+","1","]","First","tangent","vector","at","base","point",".","tangent_vec_b",":","array-like",",","shape=","[","...",",","dim","+","1","]","Second","tangent","vector","at","base","point",".","base_point",":","array-like",",","shape=","[","...",",","dim","+","1","]",",","optional","Point","in","hyperbolic","space",".","Returns","--","--","--","-","inner_prod",":","array-like",",","shape=","[","...",",","]","Inner-product","of","the","two","tangent","vectors","."]
code: def inner_product(
      self, tangent_vec_a, tangent_vec_b, base_point=None
  ):
      """Compute the inner-product of two tangent vectors at a base point.
  
      Parameters
      ----------
      tangent_vec_a : array-like, shape=[..., dim + 1]
          First tangent vector at base point.
      tangent_vec_b : array-like, shape=[..., dim + 1]
          Second tangent vector at base point.
      base_point : array-like, shape=[..., dim + 1], optional
          Point in hyperbolic space.
  
      Returns
      -------
      inner_prod : array-like, shape=[...,]
          Inner-product of the two tangent vectors.
      """
      return self._space.embedding_space.metric.inner_product(
          tangent_vec_a, tangent_vec_b, 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 2 for calling the HyperboloidMetric obj's underlying member method code with example usage: obj.inner_product(tangent_vec_a, tangent_vec_b, base_point) and returns: self