Dag Sverre Seljebotn wrote:
> Mark Lodato wrote:
>   
>> I wrote a small library for creating Numpy ufuncs using Cython.  Just
>> copy the pxd and pxi linked at
>> http://wiki.cython.org/MarkLodato/CreatingUfuncs and include the pxi
>> at the top of your file.  Then you can create 1-input/1-output or
>> 2-input/1-output ufuncs operating of floats, doubles, or long doubles
>> easily.
>>
>>   
>>     
> Really nice! Excuse my ignorance about ufuncs, but is there a function 
> pointer call overhead for every element this way, or is it all macro based?
>   
Also feel free to link to your wiki page from tutorials/numpy on the wiki.

Dag Sverre
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to