Hi, A Dissabte 26 Agost 2006 01:55, Robert Kern va escriure: > Travis Oliphant wrote: > > I've come up with adding the functions (not methods at this point) > > > > deletefrom > > insertinto > > > > appendto (syntatic sugar for concatenate but with a separate argument > > for the array and the extra stuff) --- is this needed? > > > > These functions will operate along a particular axis (default is axis=0 > > to match concatenate). > > > > Comments? > > I would drop appendto(). I also recommend leaving them as functions and not > making methods from them. This will help prevent people from thinking that > these modify the arrays in-place.
But there are already quite a few methods in NumPy that doesn't modify the array in-place (swapaxes, flatten, ravel or squeeze, but I guess many more). I'm personally an addict to encapsulate as much functionality as possible in methods (but perhaps I'm biased by an insane use of TAB in ipython console). Cheers, -- >0,0< Francesc Altet http://www.carabos.com/ V V Cárabos Coop. V. Enjoy Data "-" ------------------------------------------------------------------------- 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