function transpose_11!(A)
    n,m = size(A)
    B=Matrix{eltype(A)}(undef,m,n)
    for j in 1:n
        for i in 1:m
            B[i,j] = A[j,i]
        end
    end
    A=B
    return A
end

function transpose_12!(A)
    n,m = size(A)
    for j in 1:n
        for i in j:m
            temp = A[i,j]
            A[i,j] = A[j,i]
            A[j,i] = temp
        end
    end
    return A
end