class_docstr: Class for the pseudo-Riemannian Minkowski metric.
  
  The metric is flat: the inner product is independent of the base point.
class_docstr_tok: ["Class","for","the","pseudo-Riemannian","Minkowski","metric",".","The","metric","is","flat",":","the","inner","product","is","independent","of","the","base","point","."]
docstr: Inner product between two tangent vectors at a base point.
  
  Parameters
  ----------
  tangent_vec_a: array-like, shape=[..., dim]
      Tangent vector at base point.
  tangent_vec_b: array-like, shape=[..., dim]
      Tangent vector at base point.
  base_point: array-like, shape=[..., dim]
      Base point.
      Optional, default: None.
  
  Returns
  -------
  inner_product : array-like, shape=[...,]
      Inner-product.
docstr_tok: ["Inner","product","between","two","tangent","vectors","at","a","base","point",".","Parameters","--","--","--","--","--","tangent_vec_a",":","array-like",",","shape=","[","...",",","dim","]","Tangent","vector","at","base","point",".","tangent_vec_b",":","array-like",",","shape=","[","...",",","dim","]","Tangent","vector","at","base","point",".","base_point",":","array-like",",","shape=","[","...",",","dim","]","Base","point",".","Optional",",","default",":","None",".","Returns","--","--","--","-","inner_product",":","array-like",",","shape=","[","...",",","]","Inner-product","."]
code: def inner_product(
      self, tangent_vec_a, tangent_vec_b, base_point=None
  ):
      """Inner product between two tangent vectors at a base point.
  
      Parameters
      ----------
      tangent_vec_a: array-like, shape=[..., dim]
          Tangent vector at base point.
      tangent_vec_b: array-like, shape=[..., dim]
          Tangent vector at base point.
      base_point: array-like, shape=[..., dim]
          Base point.
          Optional, default: None.
  
      Returns
      -------
      inner_product : array-like, shape=[...,]
          Inner-product.
      """
      q, p = self.signature
      diagonal = gs.array(
          [-1.0] * p + [1.0] * q, dtype=tangent_vec_a.dtype
      )
      return gs.dot(diagonal * tangent_vec_a, tangent_vec_b)
  
file_path: geomstats/geomstats/geometry/minkowski.py
imports: import math
  import geomstats.backend
  from geomstats.algebra_utils import from_vector_to_diagonal_matrix
  from geomstats.geometry.euclidean import Euclidean
  from geomstats.geometry.riemannian_metric import RiemannianMetric
  from geomstats.vectorization import repeat_out
label_desc: Use image node_id 3 for calling the MinkowskiMetric obj's underlying member method code with example usage: obj.inner_product(tangent_vec_a, tangent_vec_b, base_point) and returns: gs