Mathematica | Python | 備考 |
---|---|---|
NestList | def nest_list(f, x, n): return [reduce(lambda x,y: f(x), range(i), x) for i in range(n+1)] |
https://stackoverflow.com/questions/12435298/ |
More than 1 year has passed since last update.
Mathematica → Python 変換表
Posted at
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme