0
假设您想要将表达式依赖于n个变量和n维纳入n维,并且n也可以是变量。数学中虚拟变量的数组
假设您想要将表达式依赖于n个变量和n维纳入n维,并且n也可以是变量。数学中虚拟变量的数组
这样的事情?
multyIntegrate[fun_, n_Integer] :=
With[{x = Sequence @@ Table[Unique[mi], {n}]}, Integrate[fun[x], x]]
multyIntegrate[g, 3]
f[i___] := Total[{i}.{i}]
multyIntegrate[f, 3]
请提供一些更多的细节 – 2012-04-28 13:27:00