get_full_factorial_matrix_size Subroutine

public subroutine get_full_factorial_matrix_size(vars, m, n, err)

Computes the appropriate size for a full-factorial design table.

Arguments

Type IntentOptional 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.
This value must be greater than or equal to 1.

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.

class(errors), intent(inout), optional, target :: err

A mechanism for communicating errors and warnings to the caller. Possible warning and error codes are as follows. - FS_NO_ERROR: No errors encountered. - FS_INVALID_INPUT_ERROR: Occurs if any items in vars are less than 1.


Contents