kron ( m1 m2 -- m )


Vocabulary
math.matrices

Inputs and outputs
m1a sequence
m2a sequence
ma sequence


Word description
Calculates the Kronecker product of two matrices.

Examples
USING: math.matrices prettyprint ; { { 1 2 } { 3 4 } } { { 0 5 } { 6 7 } } kron .
{ { 0 5 0 10 } { 6 7 12 14 } { 0 15 0 20 } { 18 21 24 28 } }


Definition