Unflatten
new to Analytica 4.7
Unflatten( x, I, resultIndexes...' )
Transforms a one-dimensional vector «x» into a multidimensional array.
«I
» is an index of «x», which does not appear in the final result, and will usually be much longer than any of «resultIndexes», which are the dimensions of the final result. The cells in the multi-dimensional array are populated with the values of «x» along «I
» in the order obtained by varying the first indexes listed in «resultIndexes» most slowly.
Index «I» can be omitted when your are unflattening along an implicit index, or along the local index created by a previous call to Flatten or ConcatRows.
When «I
» has fewer elements than cells in the final array, the remaining cells are Null-padded. When there are more elements than result cells, only the first however-many values are used.
Enable comment auto-refresher