| 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 | |
library("xplore")
a = 1:3
b = reshape (1:4,#(2,2))
kron (a, b)
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: | * |