scikit-hep / resample

Randomization-based inference in Python
BSD 3-Clause "New" or "Revised" License
74 stars 12 forks source link

multidimensional input with method = "extended" #152

Closed DonataOsthues closed 2 years ago

DonataOsthues commented 2 years ago
import numpy as np
from resample.bootstrap import variance

def fn(x):
    return 1

x = np.arange(10).reshape(5, 2)
variance(fn, x, method="extended")