I'm wondering if Stata can evaluate multivariable functions. Specifically, I have a function that has 5 variables with each variable taking 5 values each. Can Stata generate all the possible values (combination of 5 variables with 5 possible values each results to 625 values) of the function?

Thanks.