class_docstr: Class for the general linear group GL(n) and its identity component.
  
  If `positive_det=True`, this is the connected component of the identity,
  i.e. the space of matrices with positive determinant.
  
  Parameters
  ----------
  n : int
      Integer representing the shape of the matrices: n x n.
  positive_det : bool
      Whether to restrict to the identity connected component of the
      general linear group, i.e. matrices with positive determinant.
      Optional, default: False.
docstr: Check if a matrix is invertible and of the right shape.
  
  Parameters
  ----------
  point : array-like, shape=[..., n, n]
      Matrix to be checked.
  atol : float
      Tolerance threshold for the determinant.
  
  Returns
  -------
  belongs : array-like, shape=[...,]
      Boolean denoting if point is in GL(n).
docstr_tok: ["Check","if","a","matrix","is","invertible","and","of","the","right","shape",".","Parameters","--","--","--","--","--","point",":","array-like",",","shape=","[","...",",","n",",","n","]","Matrix","to","be","checked",".","atol",":","float","Tolerance","threshold","for","the","determinant",".","Returns","--","--","--","-","belongs",":","array-like",",","shape=","[","...",",","]","Boolean","denoting","if","point","is","in","GL","(","n",")","."]
code: def belongs(self, point, atol=gs.atol):
      """Check if a matrix is invertible and of the right shape.
  
      Parameters
      ----------
      point : array-like, shape=[..., n, n]
          Matrix to be checked.
      atol : float
          Tolerance threshold for the determinant.
  
      Returns
      -------
      belongs : array-like, shape=[...,]
          Boolean denoting if point is in GL(n).
      """
      has_right_size = self.embedding_space.belongs(point)
      if gs.all(has_right_size):
          det = gs.linalg.det(point)
          return det > atol if self.positive_det else gs.abs(det) > atol
      return has_right_size
  
imports: import geomstats.algebra_utils
  import geomstats.backend
  from geomstats.geometry.base import VectorSpaceOpenSet
  from geomstats.geometry.lie_algebra import MatrixLieAlgebra
  from geomstats.geometry.lie_group import MatrixLieGroup
  from geomstats.geometry.matrices import Matrices, MatricesMetric
label_desc: Use image node_id 4 for calling the GeneralLinear obj's underlying member method code with example usage: obj.belongs(point, atol) and returns: has_right_size, unknown