Experimental design generation and efficiency assessment.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=real64), | intent(in), | dimension(:,:) | :: | x |
Generates a central composite design in coded variables.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=int32), | intent(in) | :: | nfactors |
Number of factors. |
||
| character(len=*), | intent(in), | optional | :: | alpha_type |
Type: "orthogonal" (default), "rotatable", "uniform". |
|
| real(kind=real64), | intent(out) | :: | tbl(:,:) |
Design table (coded variables in [-1, +1] range). |
Computes the size of a central composite design.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=int32), | intent(in) | :: | nfactors |
Number of factors. |
||
| character(len=*), | intent(in), | optional | :: | alpha_type |
Type of CCD: "orthogonal" (default), "rotatable", or "uniform". |
|
| integer(kind=int32), | intent(out) | :: | m |
Number of runs (rows). |
||
| integer(kind=int32), | intent(out) | :: | n |
Number of factors (columns). |
Generates a 2-level fractional factorial design.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=int32), | intent(in) | :: | nfactors |
Number of factors. |
||
| integer(kind=int32), | intent(in) | :: | fraction |
Fraction level (1 for 1/2, 2 for 1/4, etc.). |
||
| real(kind=real64), | intent(out) | :: | tbl(:,:) |
Design table (runs x factors) in coded variables, where each value is either -1 or +1. |
Computes the size of a fractional factorial design.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=int32), | intent(in) | :: | nfactors |
Number of factors (k). |
||
| integer(kind=int32), | intent(in) | :: | fraction |
Fraction level (p): 1 for 1/2, 2 for 1/4, 3 for 1/8, etc. |
||
| integer(kind=int32), | intent(out) | :: | m |
Number of runs (rows). |
||
| integer(kind=int32), | intent(out) | :: | n |
Number of factors (columns), same as nfactors. |
Computes a table with values scaled from 1 to N describing a full-factorial design.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=int32), | intent(in) | :: | vars(:) |
An M-element array containing the M factors to study. |
||
| integer(kind=int32), | intent(out) | :: | tbl(:,:) |
A table where the design will be written. Use get_full_factorial_matrix_size to determine the appropriate table size. |
Computes a full-factorial design in coded variables on the range [-1, +1]. Each factor with L levels is assigned L evenly spaced values from -1 to +1 (inclusive). A factor with a single level is assigned a value of 0. For a 2-level factor, the levels are -1 and +1.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=int32), | intent(in) | :: | vars(:) |
An M-element array containing the M factors to study. Each of the M entries to the array is expected to contain the number of levels for that particular factor to explore. This value must be greater than or equal to 1. |
||
| real(kind=real64), | intent(out) | :: | tbl(:,:) |
A table where the design will be written. Use get_full_factorial_matrix_size to determine the appropriate table size. |
Computes the appropriate size for a full-factorial design table.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=int32), | intent(in) | :: | vars(:) |
An M-element array containing the M factors to study. Each
of the M entries to the array is expected to contain the
number of options for that particular factor to explore. |
||
| integer(kind=int32), | intent(out) | :: | m |
The number of rows for the table. |
||
| integer(kind=int32), | intent(out) | :: | n |
The number of columns for the table. |
Generates a Latin hypercube design for factor space exploration.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=int32), | intent(in) | :: | nfactors |
Number of factors. |
||
| integer(kind=int32), | intent(in) | :: | nsamples |
Number of samples (runs). |
||
| integer(kind=int32), | intent(inout), | optional | :: | seed |
Random seed for reproducibility. |
|
| real(kind=real64), | intent(out) | :: | tbl(:,:) |
Latin hypercube design (nsamples × nfactors). |