Cython can only intelligently reference compiled code in some external library following C-calling conventions. To use the template functions, you need to write an extern "C" wrapper function that uses a specific algorithm incarnation (that is, you must fix the template parameters).
source share