Data structure in distributed environment depends upon the
part of matrix
that is residing on a node at the
beginning of the computation. In a column-major structure
would be equals to
.
Therefore, implementation of (a) would consist of matrix transposes
after a Fourier transform computations on each dimension.
Implementation of (b) puts the transposes prior to
the Fourier transform computations. In a row-major structure
would
be an
identity matrix, and so is the
.