Anonymous user
Matrix transposition: Difference between revisions
m
→{{header|Julia}}
(→{{header|Python}}: Added labels to test samples (version handling rows with possible gaps)) |
|||
Line 1,923:
julia> [1 2 3 ; 4 5 6]' # note the quote
3x2 LinearAlgebra.Adjoint{Int64,Array{Int64,2}}:
1 4
2 5
3 6</lang>
If you do not want change the type, convert the result back to Array{Int64,2}.
=={{header|K}}==
|