collatz-玩collatz猜測的一套工具-NGeorgescu
發佈:2020-12-23 14:17:26.430185
做者:NGeorgescu
做者郵箱:nsgeorgescu@gmail.com
首頁:https://github.com/NGeorgescu/collatz
文檔:None
下載連接
=============git
Collatz
This package is a set of utilities for dealing with the collatz conjecturegithub
Contents
The package contains two functions. The first is reduce(), which takes the integer or list of integers in and returns the collapsed solution. The second is tree(), which takes in an integer and returns the collatz tree from the starting value specified.工具
If you want to learn more about the functions, simply import collatz
and either look for the help on collatz.tree()
or collatz.reduce()
.spa
Why
There's no package for it, so might as well make one. Let me know of any features you may want to see. Thanks and enjoy!.net
Changelog
0.0.0 The startcode
Copy from pypi.org
查詢時間:5.095ms
渲染時間:5.224ms
本文同步分享在 博客「zhenruyan」(other)。
若有侵權,請聯繫 support@oschina.cn 刪除。
本文參與「OSC源創計劃」,歡迎正在閱讀的你也加入,一塊兒分享。ci