In the above picture, the Discrete Fourier Transform, for the case of 1-dimension is expressed as a matrix multiplication of the 1-D vector of length $N$ with a DFT matrix of dimension $N\times N$. I want a similar thing for a general case of n-dimensional DFT. That is, let $x$ be an n-dimensional object, say $N_1\times N_2\times...\times N_n$. I want to take a n-dimensional DFT of this object, by expressing as a product with a DFT matrix as in the case of 1-dimension example in the above figure. What kind of object would the DFT matrix (if i can call it a matrix) be? That defintely not a matrix product but something generalized to handle higher dimensions. Please provide me some theory and directions, or if it already exists, please point me to a reference.
PS : I don't know anything about Tensors, so Ia m not sure if tensors would help.

The DFT is separable so can be applied per dimension (e.g. apply on rows first, the on columns). The most natural way is indeed to write it as a tensor product: if $D_k$ is the DFT on $\mathbb{C}^{d_k}$ then $D_1\otimes \ldots \otimes D_n$ is the DFT on $\mathbb{C}^{d_1}\otimes \ldots \otimes \mathbb{C}^{d_n}$. Of course, being linear, this can always be written as a matrix after choosing some basis. As an example consider $\mathbb{C}^{2}\otimes \mathbb{C}^2$ with basis $$\{e_1\otimes e_1, e_2 \otimes e_1, e_1 \otimes e_2, \ e_2\otimes e_2 \}$$ Then in this basis $$ D\otimes D = (D\otimes {\bf1})({\bf1} \otimes D) = \begin{pmatrix} D&0\\ 0 & D \end{pmatrix} \begin{pmatrix} d_{11} \cdot {\bf 1}&d_{12}\cdot {\bf 1}\\ d_{21}\cdot {\bf 1}& d_{22}\cdot {\bf 1}\end{pmatrix} $$ where each entry in the last matrix is a diagonal $2\times 2$ matrix and $d_{jk}$ are the entries of $D$.