You are viewing an older version (1.17.1).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy 1.17.1 / scipy / stats / _distribution_infrastructure / _Interval / contains

function

scipy.stats._distribution_infrastructure:_Interval.contains

source: /scipy/stats/_distribution_infrastructure.py:357

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