Skip to content

JurjenBokma/collatz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

collatz

A bit of code to play with Github, Python, C++ and more

Largely following these tutorials:

we make C++ functions available to Python. That speeds the Collatz competition up by around a factor 30.

The C++-used-by-Python example will so far only work on Linux. Make will run into errors unless at least the following packages (on Debian) are installed:

  • python3-pybind11
  • pybind11-dev
  • libpython3.7-dev (or newer)
  • python3-dev (or newer)
  • g++ (a recent version)

When they are, simply calling 'make' should suffice to build the Python module.

About

A bit of code to play with Github, Python, C++ and more

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors