Consider a multidimensional array $\\boldsymbol{\\mathcal{X}}\\in \\mathbb{R}^{I_1\\times\\ldots\\times I_N}$. I want to compute the product of all entries, that is. \\begin{eq