Category "cython"

Utilising Cython with Pyinstaller

I am trying to build a program in python using Cython and PyInstaller. Before starting, I built this test program. However, the two modules aren't working toget

Inheritance and std::shared_ptr in Cython

Suppose I have the following simple example of C++ inheritance in file.h: class Base {}; class Derived : public Base {}; Then, the following code compiles; tha

Cython how to create an anonymous union inside of a struct?

I want to create the following structure in cython (actually I don't really need this one in but it is a simplified example.) cdef struct MyStruct: int x

Trouble transitioning to multiprocessing python code to cython

I'm running a program that takes real time data on a Raspberry pi 4. Because the program is quite demanding, the different functionalities are separated into th

I don't know how to wrap the .c file and.pyx file code

I am beginner in Cython and I am learning it from a book of O’Reilly's Cython and I have an issue in the code that I do not know that how I can wrap the

BLAS dger filling matrix in fortran order?

I am using cython to do a rank one update of a rectangular matrix A. I cannot get dger to do the update as I want, so I've isolated it in a function: from scip