On Wednesday, July 9, 2014 4:52:19 PM UTC+2, David Mödinger wrote:
>
>
>
> Am Mittwoch, 9. Juli 2014 16:18:03 UTC+2 schrieb Volker Braun:
>>
>> Python/Cython classes are not C++ classes, so you can't call Py/Cy
>> methods from C++ code directly. It can of course be done using the CPython
>> C A
Am Mittwoch, 9. Juli 2014 17:27:21 UTC+2 schrieb Volker Braun:
>
> IMHO its better to go with the first option. You essentially want to add a
> single new method to matrices, it'll be easier to write and maintain to not
> have to dig through a layer of Python->C++ indirection.
>
> The linbox c
IMHO its better to go with the first option. You essentially want to add a
single new method to matrices, it'll be easier to write and maintain to not
have to dig through a layer of Python->C++ indirection.
The linbox code of course uses the LinBox C++ matrix class. Then there is
always some s
Am Mittwoch, 9. Juli 2014 16:18:03 UTC+2 schrieb Volker Braun:
>
> Python/Cython classes are not C++ classes, so you can't call Py/Cy methods
> from C++ code directly. It can of course be done using the CPython C API or
> Boost.Python, but a Python object is never a straight C++ object. For
>
On Wed, Jul 9, 2014 at 7:18 AM, Volker Braun wrote:
> Python/Cython classes are not C++ classes, so you can't call Py/Cy methods
> from C++ code directly. It can of course be done using the CPython C API or
> Boost.Python, but a Python object is never a straight C++ object. For
> starters it doesn
Python/Cython classes are not C++ classes, so you can't call Py/Cy methods
from C++ code directly. It can of course be done using the CPython C API or
Boost.Python, but a Python object is never a straight C++ object. For
starters it doesn't have a C++ vtable, methods can be added dynamically in