Previous: Structure-based configuration settings, Up: Parameter structures [Index]

### 10.5 Handling named parameter arrays

Parameters in named structure fields are allowed to be non-scalar real arrays. In this case, their dimensions must be given by the setting `param_dims`, a cell-array of dimension vectors, each containing at least two dimensions; if not given, dimensions are taken from the initial parameters, if these are given in a structure.

If there are any vector-based settings or not structure-based linear constraints, they must correspond to an order of parameters defined as follows:

All named parameter arrays are reshaped to vectors. Then, all parameters, scalars and vectors, are concatenated in the order of parameter names, given by the user.

Structure-based settings or structure-based initial parameters must contain arrays with dimensions reshapable to those of the respective parameters.