Skip to content Skip to sidebar Skip to footer
Showing posts with the label Cython

Cythonized Function Unexpectedly Slow

I wanted to speed up a function that I'm using a lot and I though about using cython. However, … Read more Cythonized Function Unexpectedly Slow

Cython: Overloaded Constructor Initialization Using Raw Pointer

I'm trying to wrap two C++ classes: Cluster and ClusterTree. ClusterTree has a method get_curre… Read more Cython: Overloaded Constructor Initialization Using Raw Pointer

Importing Cython Generated *.so-module With Another Python-version Or On Another Os

How should a file myModule.cpython-35m-x86_64-linux-gnu.so be imported in python? Is it possible? I… Read more Importing Cython Generated *.so-module With Another Python-version Or On Another Os

Writing Cython Extension: How To Access A C Struct Internal Data From Python?

Disclaimer: I took the following example from the Python Cookbook (O'Reilly). Let's say I h… Read more Writing Cython Extension: How To Access A C Struct Internal Data From Python?

Cython C++ Wrapper Operator() Overloading Error

Connected with my previous question. Using Cython to wrap a C++ class that uses OpenCV types as pa… Read more Cython C++ Wrapper Operator() Overloading Error

Cython: Understanding What The Html Annotation File Has To Say?

After compiling the following Cython code, I get the html file that looks like this: import numpy a… Read more Cython: Understanding What The Html Annotation File Has To Say?