SobolSamplingEngine.sample SobolSamplingEngine.sample(n: int) → array[source] Performs the sampling. Parameters: n (int) – The number of samples to be produced. Returns: np.ndarray – A numpy array containing the new samples, of shape (n, self.dim)