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.
我用 sympy 创建了未知数量的符号表达式。
例如:
f1 = x f2 = exp(x) ... fn = ...
由于它是一个未知的数量,我不能简单地做:plot(f1, f2, f3),所以我想传入一个符号表达式列表。我不知道该怎么做?
plot(f1, f2, f3)
使用参数解包运算符, *。
*
plot(*[f1, f2, f3])
相当于