Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 983 Bytes

README.md

File metadata and controls

30 lines (18 loc) · 983 Bytes

discretemath

discretemath is a Python library that implements various algorithms and processes from discrete math.

Installation

See the instructions in SETUP.md for installing discretemath.

Usage

from discretemath.py import sets
from discretemath.py import fib

pset = sets.generate_power_set([1, 'blah']) #  [[], [1], ['blah'], [1, 'blah']]

print(fib.fibonacci_dp(100)) # 354224848179261915075

The GUI can be run from the top level directory with the command python discretemath/view.py after the instructions in SETUP.md have been followed.

GUI

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

GNU