On 8/24/06, Sasha <[EMAIL PROTECTED]> wrote: > On 8/24/06, Bill Baxter <[EMAIL PROTECTED]> wrote: > >[snip] it would be > > nice to add a concise definition of "ufunc" to the numpy glossary: > > http://www.scipy.org/Numpy_Glossary. > > > > done > > > Can anyone come up with such a definition? > > I copied the definition from the old Numeric manual. > > > Here's my stab at it: > > > > ufunc: A function that operates element-wise on arrays. > > > This is not entirely correct. Ufuncs operate on anything that can be > passed to asarray: arrays, python lists, tuples or scalars.
Hey Sasha. Your defnition may be more correct, but I have to confess I don't understand it. "Universal function. Universal functions follow similar rules for broadcasting, coercion and "element-wise operation"." What is "coercion"? (Who or what is being coerced to do what?) and what does it mean to "follow similar rules for ... coercion"? Similar to what? --bill ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Numpy-discussion mailing list Numpy-discussion@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/numpy-discussion