Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Library: xplore
See also: *

Quantlet: kron
Description: Computes the Kronecker product of two matrices.

Usage: y = kron (a, b)
Input:
a array
b array
Output:
y array

Example:

library("xplore")

a = 1:3

b = reshape (1:4,#(2,2))

kron (a, b)

Result:



Contents oy y

[1,]        1        3 

[2,]        2        4 

[3,]        2        6 

[4,]        4        8 

[5,]        3        9 

[6,]        6       12 


Library: xplore
See also: *

Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Author: TTK, 970123
(C) MD*TECH Method and Data Technologies, 21.9.2000