Hi,

Suppose I have a C function,
double logsum(double a, double b);
What is needed to produce a ufunc object whose elementwise operation
is done by calling this function?

Also, is there a way to take a python function and automatically make
a ufunc out of it? (No, vectorize doesn't implement reduce(),
accumulate(), reduceat(), or outer().)

Thanks,
Anne
_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to