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

Passing And Returning Numpy Arrays To C++ Methods Via Cython

There are lots of questions about using numpy in cython on this site, a particularly useful one bei… Read more Passing And Returning Numpy Arrays To C++ Methods Via Cython

Pep-484 Type Annotations With Own Types

PEP-484 provides semantics for type annotations. These are geared very much towards a) documentatio… Read more Pep-484 Type Annotations With Own Types

Libpython2.7.a Missing Many References

I'm trying to compile a cython module with -static, but I am getting a lot of errors about miss… Read more Libpython2.7.a Missing Many References

Passing Memoryview To C Function

I have a C function declared as follows: void getIndexOfState(long *p, long C, long G, long B, long… Read more Passing Memoryview To C Function

Fastest Way To Compute Distance Beetween Each Points In Python

In my project I need to compute euclidian distance beetween each points stored in an array. The ent… Read more Fastest Way To Compute Distance Beetween Each Points In Python

Strange Segmentation Fault In Pyarray_simplenewfromdata

My question is similar 'in spirit' to Segmentation fault in PyArray_SimpleNewFromData I hav… Read more Strange Segmentation Fault In Pyarray_simplenewfromdata