polyadic/inflate.m
Converts a polyadic representation of a matrix into a sparse matrix.
Contents
Syntax
answer=inflate(p)
Description
The function opens up all the Kronecker products while preserving the sparse type if some cores are sparse.
Arguments
p - a polyadic object
Outputs
answer - a sparse matrix, except if prefixes or suffixes
are full, in which case a full matrix is returned
See also
polyadic.m, polyadic/full.m, polyadic/kron.m
Version 2.1, authors: Ilya Kuprov