class_docstr: Class for the space of complex matrices (m, n).
  
  Parameters
  ----------
  m, n : int
      Integers representing the shapes of the matrices: m x n.
docstr: Make a matrix Hermitian.
  
  Make a matrix Hermitian by averaging it
  with its transconjugate.
  
  Parameters
  ----------
  mat : array-like, shape=[..., n, n]
      Matrix.
  
  Returns
  -------
  herm : array-like, shape=[..., n, n]
      Hermitian matrix.
docstr_tok: ["Make","a","matrix","Hermitian",".","Make","a","matrix","Hermitian","by","averaging","it","with","its","transconjugate",".","Parameters","--","--","--","--","--","mat",":","array-like",",","shape=","[","...",",","n",",","n","]","Matrix",".","Returns","--","--","--","-","herm",":","array-like",",","shape=","[","...",",","n",",","n","]","Hermitian","matrix","."]
code: def to_hermitian(cls, mat):
      """Make a matrix Hermitian.
  
      Make a matrix Hermitian by averaging it
      with its transconjugate.
  
      Parameters
      ----------
      mat : array-like, shape=[..., n, n]
          Matrix.
  
      Returns
      -------
      herm : array-like, shape=[..., n, n]
          Hermitian matrix.
      """
      return 1 / 2 * (mat + cls.transconjugate(mat))
  
imports: import geomstats.backend
  import geomstats.errors
  from geomstats.geometry.base import ComplexMatrixVectorSpace
  from geomstats.geometry.hermitian import HermitianMetric
  from geomstats.geometry.matrices import Matrices
  from geomstats.vectorization import repeat_out
label_desc: Use image node_id 8 for calling the ComplexMatrices obj's underlying member method code with example usage: obj.to_hermitian(cls, mat) and returns: unknown