bundles / scipy latest / scipy / stats / _distribution_infrastructure / _IntegerInterval
ABCMeta
scipy.stats._distribution_infrastructure:_IntegerInterval
Signature
def _IntegerInterval ( endpoints = (-inf, inf) , inclusive = (False, False) ) Members
Summary
Represents an interval of integers
Extended Summary
Completes the implementation of the _Interval class for simple domains on the integers.
Methods
define_parameters(*parameters)(Inherited) Records any parameters used to define the endpoints of the domain.
get_numerical_endpoints(parameter_values)(Inherited) Gets the numerical values of the domain endpoints, which may have been defined symbolically.
contains(item, parameter_values)(Overridden) Determines whether the argument is contained within the domain
draw(n, type_, min, max, squeezed_base_shape, rng=None)(Inherited) Draws random values based on the domain.
__str__()Returns a string representation of the domain, e.g. "{a, a+1, ..., b-1, b}".
Aliases
-
scipy.stats._distribution_infrastructure._IntegerInterval