0
What is transpose?
how to transpose an array
1 Answer
0
A transpose will swap elements of array based of their indices. So, x[r, c] is reassigned the value of x[c, r]. For example,
if
x = [ [ 1, 2 ] [3, 4] ]
and if
y = transpose(x)
then
y = [ [ 1, 3 ] [2, 4] ]
What is the form of the input and output data for your code?



