Question: How do I define this block-matrix product?


I want to program a specific type of tensor product in to Maple. For two 2x2x2 tensors (hypermatrices)

(A|B) and (C|D), there is a product x defined by equation (2) in the link that yields a 2x2x2x2 tensor

(it would be too difficult to type the product here). If someone

could please let me know how to write a short algorithm that takes as input (A|B) and (C|D) 

and outputs the product (represent it however is most convienent). 

Probably as a 4x4 block matrix is the easiest way, just as in the paper.


Please Wait...