Re: [Numpy-discussion] trapz documentation on Examples pages

2008-07-13 Thread Alan G Isaac
On Sun, 13 Jul 2008, (UTC) Pauli Virtanen apparently wrote: > The "... With Doc" is the automatically generated one. It appears that > "trapz" does not have additional examples, only the "builtin" reference > documentation, so it is not listed on the latter page. So do I understand that if I'd

Re: [Numpy-discussion] trapz documentation on Examples pages

2008-07-13 Thread Pauli Virtanen
Sun, 13 Jul 2008 11:55:01 -0400, Alan G Isaac wrote: > There are two examples pages: > http://www.scipy.org/Numpy_Example_List_With_Doc > http://www.scipy.org/Numpy_Example_List > > The latter says: > > This page contains a large database of examples demonstrating most > of the Numpy fun

Re: [Numpy-discussion] trapz

2008-07-13 Thread Alan G Isaac
One other thing: I believe ``trapz`` could get a small efficiency gain by returning (dx * (y[slice1]+y[slice2])).sum(axis=axis)/2.0 Cheers, Alan Isaac ___ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listi

[Numpy-discussion] trapz documentation on Examples pages

2008-07-13 Thread Alan G Isaac
There are two examples pages: http://www.scipy.org/Numpy_Example_List_With_Doc http://www.scipy.org/Numpy_Example_List The latter says: This page contains a large database of examples demonstrating most of the Numpy functionality. Numpy Example List With Doc has these examples inter