This transform returns a reference array that references the original array but its dimensions in revere order. More...
#include <array.hpp>
Public Member Functions | |
LITE_INLINE | transpose (const transpose &) |
LITE_INLINE transpose & | operator= (const transpose &) |
This transform returns a reference array that references the original array but its dimensions in revere order.
array<float[4][5][6]> a; // a 4x5x6 array a[transpose()](1, 2, 3) = -1; // left hand side is a float[6][5][4] reference array // the above line is equivalent to: a(3, 2, 1) = -1;