I want to support multiple types in the index_increment function that I've
written here:
https://github.com/jsalvatier/numpy/blob/master/numpy/core/src/multiarray/mapping.c

I need to check that the first argument's type can support addition, cast
the dataptr to the appropriate type and do the addition operation for that
type. It looks like some of the numpy code uses .c.src files to do
templating. Is that what I want to do here? Is the syntax described
somewhere?

John
_______________________________________________
NumPy-Discussion mailing list
[email protected]
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to