bundles / scipy latest / scipy / stats / _kde / gaussian_kde / integrate_box
function
scipy.stats._kde:gaussian_kde.integrate_box
source: /scipy/stats/_kde.py :376
Signature
def integrate_box ( self , low_bounds , high_bounds , maxpts = None , * , rng = None ) Summary
Computes the integral of a pdf over a rectangular interval.
Parameters
low_bounds: array_likeA 1-D array containing the lower bounds of integration.
high_bounds: array_likeA 1-D array containing the upper bounds of integration.
maxpts: int, optionalThe maximum number of points to use for integration.
rng: `numpy.random.Generator`, optionalPseudorandom number generator state. When
rngis None, a new generator is created using entropy from the operating system. Types other than numpy.random.Generator are passed to numpy.random.default_rng to instantiate aGenerator.
Returns
value: scalarThe result of the integral.
Aliases
-
scipy.stats.gaussian_kde.integrate_box