prepare_mixed_param: Prepare parameters for mixed layouts.
Description
Prepare parameters for mixed layouts.
Usage
prepare_mixed_param(param, param_name)
Value
If length one, it is returned duplicated in a list for use in each triangle. If longer than 1
an error message is returned. In other cases, the input parameter is returned (length two input).
Arguments
- param
Parameter to prepare.
- param_name
Parameter name (for error messages and handling special parameter).