class_docstr: Class for affine connections.
  
  Parameters
  ----------
  space : Manifold object
      M in the tuple (M, g).
class_docstr_tok: ["Class","for","affine","connections",".","Parameters","--","--","--","--","--","space",":","Manifold","object","M","in","the","tuple","(","M",",","g",")","."]
docstr: Compute Ricci curvature tensor at base_point.
  
  The Ricci curvature tensor :math:`\mathrm{Ric}_{ij}` is defined as:
  :math:`\mathrm{Ric}_{ij} = R_{ikj}^k`
  with Einstein notation.
  
  Parameters
  ----------
  base_point :  array-like, shape=[..., dim]
      Point on the manifold.
  
  Returns
  -------
  ricci_tensor : array-like, shape=[..., dim, dim]
      ricci_tensor[...,i,j] = Ric_{ij}
      Ricci tensor curvature.
docstr_tok: ["Compute","Ricci","curvature","tensor","at","base_point",".","The","Ricci","curvature","tensor",":","math",":","`","\\mathrm","{","Ric","}","_","{","ij","}","`","is","defined","as",":",":","math",":","`","\\mathrm","{","Ric","}","_","{","ij","}","=","R_","{","ikj","}","^k","`","with","Einstein","notation",".","Parameters","--","--","--","--","--","base_point",":","array-like",",","shape=","[","...",",","dim","]","Point","on","the","manifold",".","Returns","--","--","--","-","ricci_tensor",":","array-like",",","shape=","[","...",",","dim",",","dim","]","ricci_tensor","[","...",",","i",",","j","]","=","Ric_","{","ij","}","Ricci","tensor","curvature","."]
code: def ricci_tensor(self, base_point):
      r"""Compute Ricci curvature tensor at base_point.
  
      The Ricci curvature tensor :math:`\mathrm{Ric}_{ij}` is defined as:
      :math:`\mathrm{Ric}_{ij} = R_{ikj}^k`
      with Einstein notation.
  
      Parameters
      ----------
      base_point :  array-like, shape=[..., dim]
          Point on the manifold.
  
      Returns
      -------
      ricci_tensor : array-like, shape=[..., dim, dim]
          ricci_tensor[...,i,j] = Ric_{ij}
          Ricci tensor curvature.
      """
      riemann_tensor = self.riemann_tensor(base_point)
      ricci_tensor = gs.einsum("...ijkj -> ...ik", riemann_tensor)
      return ricci_tensor
  
imports: from abc import ABC
  import geomstats.backend
  import geomstats.errors
label_desc: Use image node_id 11 for calling the Connection obj's underlying member method code with example usage: obj.ricci_tensor(base_point) and returns: ricci_tensor