This is a pre-release version (latest).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy latest / scipy / stats / _distribution_infrastructure / _Interval / contains

function

scipy.stats._distribution_infrastructure:_Interval.contains

source: build-install/usr/lib/python3.14/site-packages/scipy/stats/_distribution_infrastructure.py:295

Signature

def contains(self, item, parameter_values = None)

Summary

Determine whether the argument is contained within the domain.

Parameters

item : ndarray

The argument

parameter_values : dict

A dictionary that maps between string variable names and numerical values of parameters, which may define the endpoints.

Returns

out : bool

True if item is within the domain; False otherwise.

Aliases

  • scipy.stats._distribution_infrastructure._Interval.contains