DADiSP Worksheet Functions > Function Categories > Matrix Math and Special Matrices > KRON

 

KRON

Purpose:

Returns the Kronecker tensor product of two matrices.

Syntax:

KRON(a, b)

a

-

A matrix.

b

-

A matrix

Returns:

A matrix.

Example:

a = {{ 1, 2},

     {-1, -2}} 

 

b = {{10, 20},

     {30, 40}, 

     {50, 60}} 

 

c = kron(a, b)

 

c == {{ 10,  20,   20,   40},

      { 30,  40,   60,   80}, 

      { 50,  60,  100,  120}, 

      {-10, -20,  -20,  -40}, 

      {-30, -40,  -60,  -80}, 

      {-50, -60, -100, -120}} 

Remarks:

For m = numrows(a) and n = numcols(b), kron(a, b) returns the array formed by the following product:

 

{{a[1, 1] * b, a[1, 2] * b, ... a[1, n] * b}, 

 {a[2, 1] * b, a[2, 2] * b, ... a[2, n] * b}, 

                     ... 

 {a[m, 1] * b, a[m, 2] * b, ... a[m, n] * b}} 

See Also:

*^ (Matrix Multiply)

^^ (Matrix Power)

HANKEL

TOEPLITZ