class_docstr: Class for the manifold of binomial distributions.
  
  This is the parameter space of binomial distributions
  i.e. the half-line of positive reals.
class_docstr_tok: ["Class","for","the","manifold","of","binomial","distributions",".","This","is","the","parameter","space","of","binomial","distributions","i.e",".","the","half-line","of","positive","reals","."]
docstr: Evaluate if a point belongs to the manifold of binomial distributions.
  
  Parameters
  ----------
  point : array-like, shape=[..., 1]
      Point to be checked.
  atol : float
      Tolerance to evaluate if point belongs to (0,1).
      Optional, default: gs.atol
  
  Returns
  -------
  belongs : array-like, shape=[...,]
      Boolean indicating whether point represents a binomial
      distribution.
docstr_tok: ["Evaluate","if","a","point","belongs","to","the","manifold","of","binomial","distributions",".","Parameters","--","--","--","--","--","point",":","array-like",",","shape=","[","...",",","1","]","Point","to","be","checked",".","atol",":","float","Tolerance","to","evaluate","if","point","belongs","to","(","0,1",")",".","Optional",",","default",":","gs.atol","Returns","--","--","--","-","belongs",":","array-like",",","shape=","[","...",",","]","Boolean","indicating","whether","point","represents","a","binomial","distribution","."]
code: def belongs(self, point, atol=gs.atol):
      """Evaluate if a point belongs to the manifold of binomial distributions.
  
      Parameters
      ----------
      point : array-like, shape=[..., 1]
          Point to be checked.
      atol : float
          Tolerance to evaluate if point belongs to (0,1).
          Optional, default: gs.atol
  
      Returns
      -------
      belongs : array-like, shape=[...,]
          Boolean indicating whether point represents a binomial
          distribution.
      """
      belongs_shape = self.shape == point.shape[-self.point_ndim :]
      if not belongs_shape:
          shape = point.shape[: -self.point_ndim]
          return gs.zeros(shape, dtype=bool)
      return gs.squeeze(
          gs.logical_and(-atol <= point, point <= 1 + atol), axis=-1
      )
  
imports: from scipy.special import factorial
  from scipy.stats import binom
  import geomstats.backend
  from geomstats.geometry.base import VectorSpaceOpenSet
  from geomstats.geometry.euclidean import Euclidean
  from geomstats.geometry.riemannian_metric import RiemannianMetric
  from geomstats.information_geometry.base import InformationManifoldMixin, ScipyUnivariateRandomVariable
label_desc: Use image node_id 3 for calling the BinomialDistributions obj's underlying member method code with example usage: obj.belongs(point, atol) and returns: gs, gs