Inzynierka/Lib/site-packages/scipy/stats/_qmc_cy.pyi

55 lines
1.1 KiB
Python
Raw Normal View History

2023-06-02 12:51:02 +02:00
import numpy as np
from scipy._lib._util import DecimalNumber, IntNumber
def _cy_wrapper_centered_discrepancy(
sample: np.ndarray,
iterative: bool,
workers: IntNumber,
) -> float: ...
def _cy_wrapper_wrap_around_discrepancy(
sample: np.ndarray,
iterative: bool,
workers: IntNumber,
) -> float: ...
def _cy_wrapper_mixture_discrepancy(
sample: np.ndarray,
iterative: bool,
workers: IntNumber,
) -> float: ...
def _cy_wrapper_l2_star_discrepancy(
sample: np.ndarray,
iterative: bool,
workers: IntNumber,
) -> float: ...
def _cy_wrapper_update_discrepancy(
x_new_view: np.ndarray,
sample_view: np.ndarray,
initial_disc: DecimalNumber,
) -> float: ...
def _cy_van_der_corput(
n: IntNumber,
base: IntNumber,
start_index: IntNumber,
workers: IntNumber,
) -> np.ndarray: ...
def _cy_van_der_corput_scrambled(
n: IntNumber,
base: IntNumber,
start_index: IntNumber,
permutations: np.ndarray,
workers: IntNumber,
) -> np.ndarray: ...