[sage-devel] Re: adding a c++ library: how/what objects are pasted

2014-07-09 Thread David Mödinger
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

[sage-devel] Re: adding a c++ library: how/what objects are pasted

2014-07-09 Thread David Mödinger
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 >

[sage-devel] adding a c++ library: how/what objects are pasted

2014-07-09 Thread David Mödinger
Hello everyone, (see end for questions only) I am currently writing a sampling of functions as c++ mini library I want to be able to use in sage. The target is a (preferable fast) implementation of mulders-storjohann to compute the weak-popov-form of a matrix over a polynomial ring over a finit