def test06(): A = getmatrix(100, 100) B = getmatrix(100, 100) A_T = matrix_transpose(A) B_T = gettransposed(100, 100) checkdim(A_T, 100, 100) return checkeq(A_T, B_T)
def test04(): A = getmatrix(4, 2) B = getmatrix(4, 2) A_T = matrix_transpose(A) B_T = gettransposed(4, 2) checkdim(A_T, 2, 4) return checkeq(A_T, B_T)
def test08(): A = getmatrix(137, 139) B = getmatrix(137, 139) A_T = matrix_transpose(A) B_T = gettransposed(137, 139) checkdim(A_T, 139, 137) return checkeq(A_T, B_T)
def test05(): A = getmatrix(100, 100) A_T = matrix_transpose(A) return checkdim(A_T, 100, 100)
def test03(): A = getmatrix(4, 2) A_T = matrix_transpose(A) return checkdim(A_T, 2, 4)