Usage
Installation
To use Trendlist, first install it with pip:
(.venv) $ pip install trendlist
Creating Trendy Lists
To create a list of powers
use the trendlist.pows() function.
The base parameter should be of type int.
To create a list of random floats U[0, 1)-distributed random floats
use the trendlist.rands() function.
The seed parameter should be of type float.
For both functions, the parameters n and start should be of type int.
Passing unexpected types to these functions will raise a TypeError exception.
Import all functions from trendlist module into package. |