summaryrefslogtreecommitdiff
path: root/numpy/array_api/_creation_functions.py
diff options
context:
space:
mode:
authorManuchehr Aminian <manuchehr.aminian@gmail.com>2022-12-08 04:03:55 -0800
committerGitHub <noreply@github.com>2022-12-08 13:03:55 +0100
commit4ca8204c5c13b3a5c9482772813e67184f3f47c8 (patch)
tree08c6a414c0bcbb5f68b626ba5046c238c3013303 /numpy/array_api/_creation_functions.py
parentb3c0960a54c81a26bd07912dda96db9e356b34d1 (diff)
downloadnumpy-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/_creation_functions.py')
0 files changed, 0 insertions, 0 deletions