class_docstr: Class for Riemannian and pseudo-Riemannian metrics.
  
  The associated Levi-Civita connection on the tangent bundle.
class_docstr_tok: ["Class","for","Riemannian","and","pseudo-Riemannian","metrics",".","The","associated","Levi-Civita","connection","on","the","tangent","bundle","."]
docstr: Inner co-product matrix at the cotangent space at a base point.
  
  This represents the cometric matrix, i.e. the inverse of the
  metric matrix.
  
  Parameters
  ----------
  base_point : array-like, shape=[..., dim]
      Base point.
      Optional, default: None.
  
  Returns
  -------
  cometric_matrix : array-like, shape=[..., dim, dim]
      Inverse of inner-product matrix.
docstr_tok: ["Inner","co-product","matrix","at","the","cotangent","space","at","a","base","point",".","This","represents","the","cometric","matrix",",","i.e",".","the","inverse","of","the","metric","matrix",".","Parameters","--","--","--","--","--","base_point",":","array-like",",","shape=","[","...",",","dim","]","Base","point",".","Optional",",","default",":","None",".","Returns","--","--","--","-","cometric_matrix",":","array-like",",","shape=","[","...",",","dim",",","dim","]","Inverse","of","inner-product","matrix","."]
code: def cometric_matrix(self, base_point=None):
      """Inner co-product matrix at the cotangent space at a base point.
  
      This represents the cometric matrix, i.e. the inverse of the
      metric matrix.
  
      Parameters
      ----------
      base_point : array-like, shape=[..., dim]
          Base point.
          Optional, default: None.
  
      Returns
      -------
      cometric_matrix : array-like, shape=[..., dim, dim]
          Inverse of inner-product matrix.
      """
      metric_matrix = self.metric_matrix(base_point)
      return gs.linalg.inv(metric_matrix)
  
imports: from abc import ABC
  import joblib
  import geomstats.backend
  import geomstats.geometry
  from geomstats.geometry.connection import Connection
  from geomstats.vectorization import check_is_batch
label_desc: Use image node_id 5 for calling the RiemannianMetric obj's underlying member method code with example usage: obj.cometric_matrix(base_point) and returns: gs