Untitled

1897 days ago by matrix

A=matrix(4, 6, [2,-4,3,0,1,6,1,-2,-2,14,-4,15,1,-2,1,2,1,-1,-2,4,0,-12,1,-7]) print "A=" print A print print "RREF(A)=" print A.rref() 
       
A=
[  2  -4   3   0   1   6]
[  1  -2  -2  14  -4  15]
[  1  -2   1   2   1  -1]
[ -2   4   0 -12   1  -7]

RREF(A)=
[ 1 -2  0  6  0  1]
[ 0  0  1 -4  0  3]
[ 0  0  0  0  1 -5]
[ 0  0  0  0  0  0]
A=
[  2  -4   3   0   1   6]
[  1  -2  -2  14  -4  15]
[  1  -2   1   2   1  -1]
[ -2   4   0 -12   1  -7]

RREF(A)=
[ 1 -2  0  6  0  1]
[ 0  0  1 -4  0  3]
[ 0  0  0  0  1 -5]
[ 0  0  0  0  0  0]