chaospy.create_korobov_samples

chaospy.create_korobov_samples(order, dim, base=17797)[source]

Create Korobov lattice samples.

Args:
order (int):

The order of the Korobov latice. Defines the number of samples.

dim (int):

The number of dimensions in the output.

base (int):

The number based used to calculate the distribution of values.

Returns (numpy.ndarray):

Korobov lattice with shape == (dim, order)