bundles / scipy 1.17.1 / scipy / stats / _qmc / primes_from_2_to
function
scipy.stats._qmc:primes_from_2_to
source: /scipy/stats/_qmc.py :615
Signature
def primes_from_2_to ( n : int ) → np.ndarray Summary
Prime numbers from 2 to n.
Parameters
n: intSup bound with
n >= 6.
Returns
primes: list(int)Primes in
2 <= p < n.
Notes
Taken from [1] by P.T. Roy, written consent given on 23.04.2021 by the original author, Bruno Astrolino, for free use in SciPy under the 3-clause BSD.
Aliases
-
scipy.stats._qmc.primes_from_2_to