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