aboutsummaryrefslogtreecommitdiff
path: root/challenge-170/eric-cheung/python/ch-2.py
blob: eefde0cc1a5f7542ead5f8208730b9927a1eeb04 (plain)
1
2
3
4
5
6
7
8
9
10
import numpy as np

matA = [[1, 2], [3, 4]]
matB = [[5, 6], [7, 8]]

arrKP = np.kron(matA, matB)

print (arrKP)