Dear all,
if we define A to be A = matrix([[1,-3,0,2],[-2,4,0,h],[0,-2,1,k],[3,-1,7,1]]) A.echelon_form() gives diag(1,1,1,1). But this is wrong for some values of h and k.In some cases the last 1 could be 0.
How can I fix this? Thanks, N
Dear all,
if we define A to be A = matrix([[1,-3,0,2],[-2,4,0,h],[0,-2,1,k],[3,-1,7,1]]) A.echelon_form() gives diag(1,1,1,1). But this is wrong for some values of h and k.In some cases the last 1 could be 0.
How can I fix this? Thanks, N
Dear all,
if we define A to be
be
A = matrix([[1,-3,0,2],[-2,4,0,h],[0,-2,1,k],[3,-1,7,1]])
A.echelon_form() A.echelon_form()
gives diag(1,1,1,1). But this is wrong for some values of h and k.In some cases the last 1 could be 0.
How can I fix this? Thanks, N