Difference between revisions of "Polyadic.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Created page with "{{DISPLAYTITLE:polyadic.m}} Creates an object of a polyadic class. ==Syntax== p=polyadic(cores) ==Description== A polyadic is a matrix formed by a Kronecker product, w...")
 
(Normalise sequential blank lines)
Line 30: Line 30:
 
==See also==
 
==See also==
 
[[kronm.m]]
 
[[kronm.m]]
−
 
  
 
''Version 2.1, authors: [[Ilya Kuprov]]''
 
''Version 2.1, authors: [[Ilya Kuprov]]''

Revision as of 12:28, 25 April 2026

Creates an object of a polyadic class.

Syntax

    p=polyadic(cores)

Description

A polyadic is a matrix formed by a Kronecker product, with those products stored unopened. For example,

                       cores={{A,B,C},{D,E}}

corresponds to A(x)B(x)C + D(x)E matrix. Any multiplicative action by this matrix may be computed without opening the Kronecker products. This can save orders of magnitude in CPU time.

Arguments

        cores -    a cell array of cell arrays of matrices
                   whose Konecker products make up the mat-
                   rix of interest.

Outputs

        p     -    a polyadic representation of a matrix 
                   that behaves in many respects like the
                   matrix it represents.

Notes

Nested polyadics are permitted - the input matrices may be polyadics themselves.

See also

kronm.m

Version 2.1, authors: Ilya Kuprov