<jupyter_start><jupyter_text>Chapter 1<jupyter_code># 1.1
b = np.matrix(np.arange(16)).reshape(4,4)
# matrix left of B operates on rows, Right of B operates on cols
one = np.matrix([[2,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]])
two = np.matrix([[1,0,0,0],[0,1,0,0],[0,0,1/2,0],[0,0,0,1]])
three = np.matrix([[1,0,1,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]])
three_2 = np.matrix([[1,0,0,0],[0,1,0,0],[1,0,1,0],[0,0,0,1]])
four = np.matrix([[0,0,0,1],[0,1,0,0],[0,0,1,0],[1,0,0,0]])
five = np.matrix([[1,-1,0,0],[0,1,0,0],[0,-1,1,0],[0,-1,0,1]])
six = np.matrix([[1,0,0,0],[0,1,0,0],[0,0,0,1],[0,0,1,0]])
seven = np.matrix([[0,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]])
b*seven<jupyter_output><empty_output>
StarcoderdataJupyterStructuredCleanDedup