David Cournapeau wrote: > Xavier Gnata wrote: > >> Hi, >> >> I have a large 2D numpy array as input and a 1D array as output. >> In between, I would like to use C code. >> C is requirement because it has to be fast and because the algorithm >> cannot be written in a numpy oriented way :( (no way...really). >> >> Which tool should I use to achieve that? waeve.inline? pyrex? What is >> the baseline? >> >> > > That's only a data point, but I almost always use cython in those cases, > unless I need 'very advanced' features of the C API in which case I just > do it manually. > > cheers, > > David > Ok :) Should I read that to learn you cython and numpy interact? Or is there another best documentation (with examples...)?
Xavier http://wiki.cython.org/tutorials/numpy _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion