chaospy.generate_samples

chaospy.generate_samples(order, domain=1, rule='random', antithetic=None)[source]

Sample generator.

Args:
order (int):

Sample order. Determines the number of samples to create.

domain (Distribution, int, numpy.ndarray):

Defines the space where the samples are generated. If integer is provided, the space [0, 1]^domain will be used. If array-like object is provided, a hypercube it defines will be used. If distribution, the domain it spans will be used.

rule (str):

rule for generating samples.

antithetic (tuple):

Sequence of boolean values. Represents the axes to mirror using antithetic variable.