class_docstr: Class for space of one dimensional functions with norm 1.
  
  The tangent space is given by functions that have
  zero inner-product with the base point
  
  Parameters
  ----------
  domain : array-like, shape=[n_samples,]
      Grid points on the domain.
  
  References
  ----------
  .. [Sea2016] Srivastava, Anuj, and Eric P. Klassen.
      Functional and shape data analysis.
      Vol. 1. New York: Springer, 2016.
class_docstr_tok: ["Class","for","space","of","one","dimensional","functions","with","norm","1",".","The","tangent","space","is","given","by","functions","that","have","zero","inner-product","with","the","base","point","Parameters","--","--","--","--","--","domain",":","array-like",",","shape=","[","n_samples",",","]","Grid","points","on","the","domain",".","References","--","--","--","--","--","..","[","Sea2016","]","Srivastava",",","Anuj",",","and","Eric","P.","Klassen",".","Functional","and","shape","data","analysis",".","Vol",".","1",".","New","York",":","Springer",",","2016","."]
docstr: Evaluate if the point belongs to the vector space.
  
  This method checks the shape of the input point.
  
  Parameters
  ----------
  point : array-like, shape=[..., n_samples]
      Point to test.
  atol : float
  
  Returns
  -------
  belongs : array-like, shape=[...,]
      Boolean evaluating if point belongs to the space.
docstr_tok: ["Evaluate","if","the","point","belongs","to","the","vector","space",".","This","method","checks","the","shape","of","the","input","point",".","Parameters","--","--","--","--","--","point",":","array-like",",","shape=","[","...",",","n_samples","]","Point","to","test",".","atol",":","float","Returns","--","--","--","-","belongs",":","array-like",",","shape=","[","...",",","]","Boolean","evaluating","if","point","belongs","to","the","space","."]
code: def belongs(self, point, atol=gs.atol):
      """Evaluate if the point belongs to the vector space.
  
      This method checks the shape of the input point.
  
      Parameters
      ----------
      point : array-like, shape=[..., n_samples]
          Point to test.
      atol : float
  
      Returns
      -------
      belongs : array-like, shape=[...,]
          Boolean evaluating if point belongs to the space.
      """
      norms = self.metric.norm(point)
  
      return gs.isclose(norms, 1.0, atol)
  
file_path: geomstats/geomstats/geometry/functions.py
imports: import math
  import geomstats.algebra_utils
  import geomstats.backend
  from geomstats.geometry.manifold import Manifold
  from geomstats.geometry.riemannian_metric import RiemannianMetric
label_desc: Use image node_id 4 for calling the HilbertSphere obj's underlying member method code with example usage: obj.belongs(point, atol) and returns: gs