I wish to perform the integral $$ \int \prod_{i,j}dM_{ij}\exp\left(-Tr(M^2)\right) $$ where we integrate over the matrix elements of $M$. I tried
Integrate[Exp[-Tr[matrix^2]],Product[Part[matrix,i,j],{matrix}]];
I know this is wrong and I get "The expression i cannot be used as a part specification.", but how should I write this instead?
M
with itself? $\endgroup$ – Henrik Schumacher Nov 1 '18 at 18:09