ch9 problem P4

372 days ago by ghkdgnf

x, y, z, k = var('x y z k') h(x, y, z, k) = [2*y, 2*k, -x+3*z, -y+3*z] T = linear_transformation(QQ^4, QQ^4, h) # define LT C = T.matrix(side='right') print C 
       
[ 0  2  0  0]
[ 0  0  0  2]
[-1  0  3  0]
[ 0 -1  3  0]
[ 0  2  0  0]
[ 0  0  0  2]
[-1  0  3  0]
[ 0 -1  3  0]