Viewing a single comment thread. View all comments

ch9ki7 t1_ja86mi0 wrote

now you might want to provide the python wrapper for this. would be pretty interesting for smaller simpler optimization cases like arbitrary curve fitting.

3

JanBitesTheDust OP t1_ja8avd4 wrote

I actually have never wrapped C code for python hahaha. I wonder how difficult it is?

1

Jonas_SV t1_ja8tpxw wrote

Not too bad, check the python C types API

2

CireNeikual t1_ja93iae wrote

I would actually recommend Cython over C types, it's nicer especially when it comes to handling numpy arrays.

1