
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 interleaved with the built-in documentation, but is not as regularly updated as this page.
So I expect the latter to be most complete and up-to-date. (Indeed, I assume it automagically generated.) But ``trapz`` is documented on the former but not the latter. Is there a reason?
Thank you, Alan 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

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 functionality. Numpy Example List With Doc has these examples interleaved with the built-in documentation, but is not as regularly updated as this page.
So I expect the latter to be most complete and up-to-date. (Indeed, I assume it automagically generated.) But ``trapz`` is documented on the former but not the latter. Is there a reason?
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.

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 like to see ``trapz`` on URL:http://www.scipy.org/Numpy_Example_List then I should provide an example by directly editing that page?
Thank you, Alan Isaac
participants (2)
-
Alan G Isaac
-
Pauli Virtanen