class_docstr: Class for the space of matrices (m, n).
  
  Parameters
  ----------
  m, n : int
      Integers representing the shapes of the matrices: m x n.
class_docstr_tok: ["Class","for","the","space","of","matrices","(","m",",","n",")",".","Parameters","--","--","--","--","--","m",",","n",":","int","Integers","representing","the","shapes","of","the","matrices",":","m","x","n","."]
docstr: Test if matrices a and b are close.
  
  Parameters
  ----------
  mat_a : array-like, shape=[..., dim1, dim2]
      Matrix.
  mat_b : array-like, shape=[..., dim2, dim3]
      Matrix.
  atol : float
      Tolerance.
      Optional, default: backend atol.
  
  Returns
  -------
  eq : array-like, shape=[...,]
      Boolean evaluating if the matrices are close.
docstr_tok: ["Test","if","matrices","a","and","b","are","close",".","Parameters","--","--","--","--","--","mat_a",":","array-like",",","shape=","[","...",",","dim1",",","dim2","]","Matrix",".","mat_b",":","array-like",",","shape=","[","...",",","dim2",",","dim3","]","Matrix",".","atol",":","float","Tolerance",".","Optional",",","default",":","backend","atol",".","Returns","--","--","--","-","eq",":","array-like",",","shape=","[","...",",","]","Boolean","evaluating","if","the","matrices","are","close","."]
code: def equal(mat_a, mat_b, atol=gs.atol):
      """Test if matrices a and b are close.
  
      Parameters
      ----------
      mat_a : array-like, shape=[..., dim1, dim2]
          Matrix.
      mat_b : array-like, shape=[..., dim2, dim3]
          Matrix.
      atol : float
          Tolerance.
          Optional, default: backend atol.
  
      Returns
      -------
      eq : array-like, shape=[...,]
          Boolean evaluating if the matrices are close.
      """
      return gs.all(gs.isclose(mat_a, mat_b, atol=atol), (-2, -1))
  
imports: import logging
  import math
  from functools import reduce
  import geomstats.backend
  import geomstats.errors
  from geomstats.algebra_utils import flip_determinant, from_vector_to_diagonal_matrix
  from geomstats.geometry.base import MatrixVectorSpace
  from geomstats.geometry.euclidean import EuclideanMetric
  from geomstats.vectorization import repeat_out
label_desc: Use image node_id 5 for calling the Matrices obj's underlying member method code with example usage: obj.equal(mat_a, mat_b, atol) and returns: gs