From Spinach Documentation Wiki
Converts a polyadic representation of a matrix into a full matrix.
The function opens up all the Kronecker products and does not preserve the sparse type if some cores are sparse.
p - a polyadic object
answer - a full matrix
Version 2.1, authors: Ilya Kuprov