diff options
author | Manuchehr Aminian <manuchehr.aminian@gmail.com> | 2022-12-08 04:03:55 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-08 13:03:55 +0100 |
commit | 4ca8204c5c13b3a5c9482772813e67184f3f47c8 (patch) | |
tree | 08c6a414c0bcbb5f68b626ba5046c238c3013303 /numpy/array_api/_array_object.py | |
parent | b3c0960a54c81a26bd07912dda96db9e356b34d1 (diff) | |
download | numpy-4ca8204c5c13b3a5c9482772813e67184f3f47c8.tar.gz |
DOC: add numerical integration of x^2 to trapz (#22681)
Examples in documentation for trapz goes straight from integrating random arrays to parametric curves. I think it's worth pointing out one can integrate something they'd see in Calculus 1 and get the answer they'd expect.
Also add some more guidance text to the existing examples (and style fixes)
Co-authored-by: Sebastian Berg <sebastian@sipsolutions.net>
Co-authored-by: Melissa Weber Mendonça <melissawm@gmail.com>
Diffstat (limited to 'numpy/array_api/_array_object.py')
0 files changed, 0 insertions, 0 deletions