Transposesthe input array.
a = INDGEN(10)
a
.
b = TRANSPOSE(a)
b
using the TRANSPOSE function
INFO, a, b
a INT = Array(10)
b INT = Array(1, 10)
Figure 2-123 TRANSPOSE has been used with this 512-by-512 aerial image to flip it diagonally (rotate it and create a mirror image).
Figure 2-124 TRANSPOSE has been used with this 512-by-512 aerial image to flip it diagonally (rotate it and create a mirror image).
a = INDGEN( 2, 4, 3 ) & PM, a 0 2 4 6 1 3 5 7 8 10 12 14 9 11 13 15 16 18 20 22 17 19 21 23 PM, TRANSPOSE( a, d=[0,2] ) 0 2 4 6 8 10 12 14 16 18 20 22 1 3 5 7 9 11 13 15 17 19 21 23