I would like to generate a table $T$ of random values of rank $p$ such that my table is fully symmetric: If I swap any indices I get the same value. For example when $p=3$ I would like $T_{ijk}$ to be random with the following symmetry: $$T_{ijk}=T_{ikj}=T_{jki}=T_{jik}=T_{kij}=T_{kji}$$
For the case $p=2$, it boils down to generate random matrices and I can simply take the upper triangular part and take its transpose.
I would like something in those lines for example:
T=RandomVariate[NormalDistribution[0, 1],{n,n,n}];
But here $T$ is not symmetric. How could I obtain $T$ such that for any permutations of its indices I get the same value?
Symmetrize
exactly for this purpose, see also here reference.wolfram.com/language/tutorial/SymmetrizedArrays.html $\endgroup$