Given a list of matrices, construct a single three-dimensional array.

collect_and_permute(list_of_matrices)

Arguments

list_of_matrices

Each item in the list is a two-dimensional array of the same size.

Value

A single three-dimensional array where the first dimension is the number of items in the list and the next two are the dimensions of each array.