Inspired by Kurt W. Smith's book on Cython
This example make use of a simple C++ source code which implements two Taylor series sinus() and cosinus(). The point is to illustrate how C/C++ functions can be called from python with the use of Cython.
- Show how distutils can be used to build a Python library
- Show how CMake can be used to accomblish the same thing
- Python
- Cython
- CMake
- C++ compilers
In this example using Virtual Environments but also Anaconda or Miniconda will do the job: