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","."]
code: def __init__(self, domain, equip=True):
      self.domain = domain
      super().__init__(
          dim=math.inf,
          shape=(len(domain),),
          equip=equip,
      )
  
      sinf_domain = (domain - min(domain)) / (max(domain) - min(domain))
      if gs.allclose(domain, sinf_domain):
          self._sinf = self
      else:
          self._sinf = HilbertSphere(sinf_domain)
  
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 1 to create a new HilbertSphere object from inherited base classes: Manifold with example: obj = HilbertSphere(domain, equip)