示例#1
0
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)
示例#2
0
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)
示例#3
0
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)
示例#4
0
def test05():
    A = getmatrix(100, 100)
    A_T = matrix_transpose(A)
    return checkdim(A_T, 100, 100)
示例#5
0
def test03():
    A = getmatrix(4, 2)
    A_T = matrix_transpose(A)
    return checkdim(A_T, 2, 4)