_qmc_cy.pyi 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. import numpy as np
  2. from scipy._lib._util import DecimalNumber, IntNumber
  3. def _cy_wrapper_centered_discrepancy(
  4. sample: np.ndarray,
  5. iterative: bool,
  6. workers: IntNumber,
  7. ) -> float: ...
  8. def _cy_wrapper_wrap_around_discrepancy(
  9. sample: np.ndarray,
  10. iterative: bool,
  11. workers: IntNumber,
  12. ) -> float: ...
  13. def _cy_wrapper_mixture_discrepancy(
  14. sample: np.ndarray,
  15. iterative: bool,
  16. workers: IntNumber,
  17. ) -> float: ...
  18. def _cy_wrapper_l2_star_discrepancy(
  19. sample: np.ndarray,
  20. iterative: bool,
  21. workers: IntNumber,
  22. ) -> float: ...
  23. def _cy_wrapper_update_discrepancy(
  24. x_new_view: np.ndarray,
  25. sample_view: np.ndarray,
  26. initial_disc: DecimalNumber,
  27. ) -> float: ...
  28. def _cy_van_der_corput(
  29. n: IntNumber,
  30. base: IntNumber,
  31. start_index: IntNumber,
  32. workers: IntNumber,
  33. ) -> np.ndarray: ...
  34. def _cy_van_der_corput_scrambled(
  35. n: IntNumber,
  36. base: IntNumber,
  37. start_index: IntNumber,
  38. permutations: np.ndarray,
  39. workers: IntNumber,
  40. ) -> np.ndarray: ...