class_docstr: Class for the n-dimensional hyperboloid space.
  
  Class for the n-dimensional hyperboloid space as embedded in (n+1)-dimensional
  Minkowski space as the set of points with squared norm equal to -1. For other
  representations of hyperbolic spaces see the `Hyperbolic` class.
  
  Parameters
  ----------
  dim : int
      Dimension of the hyperbolic space.
class_docstr_tok: ["Class","for","the","n-dimensional","hyperboloid","space",".","Class","for","the","n-dimensional","hyperboloid","space","as","embedded","in","(","n+1",")","-dimensional","Minkowski","space","as","the","set","of","points","with","squared","norm","equal","to","-1",".","For","other","representations","of","hyperbolic","spaces","see","the","`","Hyperbolic","`","class",".","Parameters","--","--","--","--","--","dim",":","int","Dimension","of","the","hyperbolic","space","."]
docstr: Project a vector to a tangent space of the hyperbolic space.
  
  Project a vector in Minkowski space on the tangent space
  of the hyperbolic space at a base point.
  
  Parameters
  ----------
  vector : array-like, shape=[..., dim + 1]
      Vector in Minkowski space to be projected.
  base_point : array-like, shape=[..., dim + 1]
      Point in hyperbolic space.
  
  Returns
  -------
  tangent_vec : array-like, shape=[..., dim + 1]
      Tangent vector at the base point, equal to the projection of
      the vector in Minkowski space.
docstr_tok: ["Project","a","vector","to","a","tangent","space","of","the","hyperbolic","space",".","Project","a","vector","in","Minkowski","space","on","the","tangent","space","of","the","hyperbolic","space","at","a","base","point",".","Parameters","--","--","--","--","--","vector",":","array-like",",","shape=","[","...",",","dim","+","1","]","Vector","in","Minkowski","space","to","be","projected",".","base_point",":","array-like",",","shape=","[","...",",","dim","+","1","]","Point","in","hyperbolic","space",".","Returns","--","--","--","-","tangent_vec",":","array-like",",","shape=","[","...",",","dim","+","1","]","Tangent","vector","at","the","base","point",",","equal","to","the","projection","of","the","vector","in","Minkowski","space","."]
code: def to_tangent(self, vector, base_point):
      """Project a vector to a tangent space of the hyperbolic space.
  
      Project a vector in Minkowski space on the tangent space
      of the hyperbolic space at a base point.
  
      Parameters
      ----------
      vector : array-like, shape=[..., dim + 1]
          Vector in Minkowski space to be projected.
      base_point : array-like, shape=[..., dim + 1]
          Point in hyperbolic space.
  
      Returns
      -------
      tangent_vec : array-like, shape=[..., dim + 1]
          Tangent vector at the base point, equal to the projection of
          the vector in Minkowski space.
      """
      sq_norm = self.embedding_space.metric.squared_norm(base_point)
      inner_prod = self.embedding_space.metric.inner_product(
          base_point, vector
      )
  
      coef = inner_prod / sq_norm
  
      return vector - gs.einsum("...,...j->...j", coef, 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 8 for calling the Hyperboloid obj's underlying member method code with example usage: obj.to_tangent(vector, base_point) and returns: unknown