pub fn generate(
parameters: &Parameters,
points: usize,
seed: usize,
) -> Result<Theta>
Expand description
Generates an instance of Theta from a Sobol sequence.
The sequence samples [0, 1), and the values are scaled to the parameter ranges.
§Arguments
parameters
- The Parameters struct, which contains the parameters to be sampled.points
- The number of points to generate, i.e. the number of rows in the matrix.seed
- The seed for the Sobol sequence generator.
§Returns
Theta, a structure that holds the support point matrix