Difference between revisions of "Polyadic/inflate.m"
(Normalise sequential blank lines) |
m (Spot-update function page against current Spinach source) |
||
| Line 15: | Line 15: | ||
==Outputs== | ==Outputs== | ||
| − | answer - a sparse matrix | + | answer - a sparse matrix, except if prefixes or suffixes |
| + | are full, in which case a full matrix is returned | ||
==See also== | ==See also== | ||
Revision as of 16:03, 5 June 2026
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