# -*- coding: utf-8 -*-
"""
Created on Thu Nov 18 14:14:24 2021

@author: Sim
"""
import numpy as np # matrixop1.py

mtx = np.array([[1,2,3], [4,5,6]])
mtx = np.array([1,2,3,4,5,6]).reshape(2,3)

mx1 = np.array(range(1,7)).reshape(2,3)
mx2 = np.hstack((np.repeat(1,3).reshape(3,1), 
                 np.repeat(2,3).reshape(3,1)))
mx3 = np.matmul(mx1, mx2)
print(mx3.shape)

