It should be possible to define a cython struct with a function pointer: http://docs.cython.org/src/reference/language_basics.html#function-pointers
I have no experience with that kind of cython constructs though. Alternatively that could be the right opportunity to introduce the cython template system we want to use for templating the dtypes of input and output data in cython extensions. -- Olivier ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox _______________________________________________ Scikit-learn-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
