This is a pre-release version (2.0.0.dev0+git20260907.41eeb59).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / stats / _hypotests / _all_partitions

function

scipy.stats._hypotests:_all_partitions

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

Signature

def _all_partitions(nx, ny)

Summary

Partition a set of indices into two fixed-length sets in all possible ways

Extended Summary

Partition a set of indices 0 ... nx + ny - 1 into two sets of length nx and ny in all possible ways (ignoring order of elements).

Aliases

  • scipy.stats._hypotests._all_partitions