Upcoming Cython releases will have a generics system called "fused types".
Sturla Sendt fra min iPad Den 6. mars 2012 kl. 23:26 skrev Chris Barker <chris.bar...@noaa.gov>: > On Sun, Mar 4, 2012 at 2:18 PM, Luis Pedro Coelho <l...@cmu.edu> wrote: >> At least last time I read up on it, cython was not able to do multi-type >> code, >> i.e., have code that works on arrays of multiple types. Does it support it >> now? > > The Bottleneck project used some sort of template system to generate > multiple type cyton code -- not cython itself, but none the less > useful. > > -Chris > > > > > -- > > Christopher Barker, Ph.D. > Oceanographer > > Emergency Response Division > NOAA/NOS/OR&R (206) 526-6959 voice > 7600 Sand Point Way NE (206) 526-6329 fax > Seattle, WA 98115 (206) 526-6317 main reception > > chris.bar...@noaa.gov > _______________________________________________ > NumPy-Discussion mailing list > NumPy-Discussion@scipy.org > http://mail.scipy.org/mailman/listinfo/numpy-discussion _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion