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 / _sensitivity_analysis / sample_AB

function

scipy.stats._sensitivity_analysis:sample_AB

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

Signature

def sample_AB(A: np.ndarray, B: np.ndarray) → np.ndarray

Summary

AB matrix.

Extended Summary

AB: rows of B into A. Shape (d, d, n).

  • Copy A into d "pages"

  • In the first page, replace 1st rows of A with 1st row of B.

... - In the dth page, replace dth row of A with dth row of B. - return the stack of pages

Aliases

  • scipy.stats._sensitivity_analysis.sample_AB