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: Sample random points on the manifold.
  
  Parameters
  ----------
  n_samples : int
      Number of samples.
      Optional, default: 1.
  bound : float
      This parameter is ignored
  
  Returns
  -------
  samples : array-like, shape=[..., dim]
docstr_tok: ["Sample","random","points","on","the","manifold",".","Parameters","--","--","--","--","--","n_samples",":","int","Number","of","samples",".","Optional",",","default",":","1.","bound",":","float","This","parameter","is","ignored","Returns","--","--","--","-","samples",":","array-like",",","shape=","[","...",",","dim","]"]
code: def random_point(self, n_samples=1, bound=1.0):
      """Sample random points on the manifold.
  
      Parameters
      ----------
      n_samples : int
          Number of samples.
          Optional, default: 1.
      bound : float
          This parameter is ignored
  
      Returns
      -------
      samples : array-like, shape=[..., dim]
      """
      n_domain = len(self.domain)
      shape = (
          (n_domain,)
          if n_samples == 1
          else (
              n_samples,
              n_domain,
          )
      )
      point = gs.random.rand(*shape)
  
      return self.projection(point)
  
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 7 for calling the HilbertSphere obj's underlying member method code with example usage: obj.random_point(n_samples, bound) and returns: self