class_docstr: Class for the vector space of symmetric matrices of size n.
  
  Parameters
  ----------
  n : int
      Integer representing the shapes of the matrices: n x n.
class_docstr_tok: ["Class","for","the","vector","space","of","symmetric","matrices","of","size","n.","Parameters","--","--","--","--","--","n",":","int","Integer","representing","the","shapes","of","the","matrices",":","n","x","n","."]
docstr: Evaluate if a matrix is symmetric.
  
  Parameters
  ----------
  point : array-like, shape=[.., n, n]
      Point to test.
  atol : float
      Tolerance to evaluate equality with the transpose.
  
  Returns
  -------
  belongs : array-like, shape=[...,]
      Boolean evaluating if point belongs to the space.
docstr_tok: ["Evaluate","if","a","matrix","is","symmetric",".","Parameters","--","--","--","--","--","point",":","array-like",",","shape=","[","..",",","n",",","n","]","Point","to","test",".","atol",":","float","Tolerance","to","evaluate","equality","with","the","transpose",".","Returns","--","--","--","-","belongs",":","array-like",",","shape=","[","...",",","]","Boolean","evaluating","if","point","belongs","to","the","space","."]
code: def belongs(self, point, atol=gs.atol):
      """Evaluate if a matrix is symmetric.
  
      Parameters
      ----------
      point : array-like, shape=[.., n, n]
          Point to test.
      atol : float
          Tolerance to evaluate equality with the transpose.
  
      Returns
      -------
      belongs : array-like, shape=[...,]
          Boolean evaluating if point belongs to the space.
      """
      belongs = super().belongs(point)
      if gs.any(belongs):
          is_symmetric = Matrices.is_symmetric(point, atol)
          return gs.logical_and(belongs, is_symmetric)
      return belongs
  
file_path: geomstats/geomstats/geometry/symmetric_matrices.py
imports: import geomstats.backend
  from geomstats.geometry.base import MatrixVectorSpace
  from geomstats.geometry.matrices import Matrices, MatricesMetric
label_desc: Use image node_id 4 for calling the SymmetricMatrices obj's underlying member method code with example usage: obj.belongs(point, atol) and returns: belongs, gs