Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
假设您要集成一个表达式,该表达式取决于 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]