2013-07-22 21:57:56 +08:00
|
|
|
# Authors: Arnaud Joly
|
|
|
|
|
#
|
2016-04-01 08:25:31 +08:00
|
|
|
# License: BSD 3 clause
|
2013-07-22 21:57:56 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
import numpy as np
|
|
|
|
|
cimport numpy as np
|
|
|
|
|
|
|
|
|
|
|
2013-07-22 22:28:58 +08:00
|
|
|
cpdef sample_without_replacement(np.int_t n_population,
|
|
|
|
|
np.int_t n_samples,
|
|
|
|
|
method=*,
|
|
|
|
|
random_state=*)
|
2013-07-22 21:57:56 +08:00
|
|
|
|