[Numpy-discussion] Writing new ufuncs
Anne Archibald
peridot.faceted@gmail....
Sun May 11 13:04:13 CDT 2008
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
More information about the Numpy-discussion
mailing list