Another option is to do code generation, e.g. with one of the (many)
Python templating libraries out there.

On Wed, May 14, 2014 at 8:59 AM, Simon King <simon.k...@uni-jena.de> wrote:
> Hi Martin,
>
> On 2014-05-14, Martin Albrecht <martinralbre...@googlemail.com> wrote:
>> We've done some templating before when Cython didn't speak C++ so well and/or
>> when C code was involved.
>>
>> 1. sage.rings.polynomials.polynomial_template provides a way to wrap
>> univariate polynomials.
>> ...
>> 2. Matrix_modn_dense_template is used to wrap LinBox's FFLAS for doubles and
>> floats.
>
> Yes, that's the first form of imitating templates that I mentioned in my
> original post.
>
> Cheers,
> Simon
>
> --
> You received this message because you are subscribed to the Google Groups 
> "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to sage-devel+unsubscr...@googlegroups.com.
> To post to this group, send email to sage-devel@googlegroups.com.
> Visit this group at http://groups.google.com/group/sage-devel.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to