class_docstr: Class for the complex Poincaré disk.
  
  The Poincaré disk is a representation of the Hyperbolic
  space of dimension 2. Its complex dimension is 1.
class_docstr_tok: ["Class","for","the","complex","Poincar\u00e9","disk",".","The","Poincar\u00e9","disk","is","a","representation","of","the","Hyperbolic","space","of","dimension","2",".","Its","complex","dimension","is","1","."]
docstr: Check if a point belongs to the complex unit disk.
  
  Check if a point belongs to the Poincaré complex disk,
  i.e. Check if its norm is lower than one.
  
  Parameters
  ----------
  point : array-like, shape=[..., 1]
      Point to be checked.
  atol : float
      Tolerance.
      Optional, default: backend atol.
  
  Returns
  -------
  belongs : array-like, shape=[...]
      Boolean denoting if point belongs to the
      complex Poincaré disk.
docstr_tok: ["Check","if","a","point","belongs","to","the","complex","unit","disk",".","Check","if","a","point","belongs","to","the","Poincar\u00e9","complex","disk",",","i.e",".","Check","if","its","norm","is","lower","than","one",".","Parameters","--","--","--","--","--","point",":","array-like",",","shape=","[","...",",","1","]","Point","to","be","checked",".","atol",":","float","Tolerance",".","Optional",",","default",":","backend","atol",".","Returns","--","--","--","-","belongs",":","array-like",",","shape=","[","...","]","Boolean","denoting","if","point","belongs","to","the","complex","Poincar\u00e9","disk","."]
code: def belongs(point, atol=gs.atol):
      """Check if a point belongs to the complex unit disk.
  
      Check if a point belongs to the Poincaré complex disk,
      i.e. Check if its norm is lower than one.
  
      Parameters
      ----------
      point : array-like, shape=[..., 1]
          Point to be checked.
      atol : float
          Tolerance.
          Optional, default: backend atol.
  
      Returns
      -------
      belongs : array-like, shape=[...]
          Boolean denoting if point belongs to the
          complex Poincaré disk.
      """
      if point.shape[-1] != 1:
          return gs.zeros(point.shape[:-1], dtype=bool)
  
      return gs.all(gs.abs(point) < 1, axis=-1)
  
file_path: geomstats/geomstats/geometry/complex_poincare_disk.py
imports: import geomstats.backend
  from geomstats.geometry.base import ComplexVectorSpaceOpenSet
  from geomstats.geometry.complex_riemannian_metric import ComplexRiemannianMetric
  from geomstats.geometry.hermitian import Hermitian
label_desc: Use image node_id 3 for calling the ComplexPoincareDisk obj's underlying member method code with example usage: obj.belongs(point, atol) and returns: gs, gs