After some symbolic calculations I have an expression with 5 symbolic variables: expr = f(v1, v2, v3, v4, v5). Each variable is a range of values, e.g.:
v1 = Range[1, 15, 1]
v2 = Range[0.5, 3, 0.1]
...
I would like to evaluate the expression for each combination of all values in all variables and take mean and standard deviation from it.
I tried
exprEval = Table[Table[Table[Table[Table[expr, {v1, 1, 15, 1}], {v2, 0.5, 3, 0.1}], {v3,...}], {v4, ...}], {v5, ...}]
exprEvalMean = Mean[Flatten[exprEval]]
But this either takes forever or crashes with memory error. Is there another, more efficient way to do this?