diff options
author | Stefan van der Walt <sjvdwalt@gmail.com> | 2018-04-14 14:20:14 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-14 14:20:14 -0700 |
commit | 64707f0432c80f6e7dac9b2ad4bd6c184fdb564b (patch) | |
tree | 16769b235f046f08c1922b2e6c53f9f18939b8ab /numpy/add_newdocs.py | |
parent | 9e419a0359cb5dbb9ae0b2711ab7a59b121a98cf (diff) | |
parent | 35753b1f28106d5b3fe48f31130e2dde7a02aa0c (diff) | |
download | numpy-64707f0432c80f6e7dac9b2ad4bd6c184fdb564b.tar.gz |
Merge pull request #10867 from Carreau/link-full
DOC: Cross-reference full/full_like in a few "See Also" sections.
Diffstat (limited to 'numpy/add_newdocs.py')
-rw-r--r-- | numpy/add_newdocs.py | 24 |
1 files changed, 17 insertions, 7 deletions
diff --git a/numpy/add_newdocs.py b/numpy/add_newdocs.py index d8ae98c12..c2348b462 100644 --- a/numpy/add_newdocs.py +++ b/numpy/add_newdocs.py @@ -784,7 +784,15 @@ add_newdoc('numpy.core.multiarray', 'array', See Also -------- - empty, empty_like, zeros, zeros_like, ones, ones_like, full, full_like + empty_like : Return an empty array with shape and type of input. + ones_like : Return an array of ones with shape and type of input. + zeros_like : Return an array of zeros with shape and type of input. + full_like : Return a new array with shape of input filled with value. + empty : Return a new uninitialized array. + ones : Return a new array setting values to one. + zeros : Return a new array setting values to zero. + full : Return a new array of given shape filled with value. + Notes ----- @@ -862,7 +870,11 @@ add_newdoc('numpy.core.multiarray', 'empty', See Also -------- - empty_like, zeros, ones + empty_like : Return an empty array with shape and type of input. + ones : Return a new array setting values to one. + zeros : Return a new array setting values to zero. + full : Return a new array of given shape filled with value. + Notes ----- @@ -920,9 +932,8 @@ add_newdoc('numpy.core.multiarray', 'empty_like', -------- ones_like : Return an array of ones with shape and type of input. zeros_like : Return an array of zeros with shape and type of input. + full_like : Return a new array with shape of input filled with value. empty : Return a new uninitialized array. - ones : Return a new array setting values to one. - zeros : Return a new array setting values to zero. Notes ----- @@ -984,10 +995,9 @@ add_newdoc('numpy.core.multiarray', 'zeros', See Also -------- zeros_like : Return an array of zeros with shape and type of input. - ones_like : Return an array of ones with shape and type of input. - empty_like : Return an empty array with shape and type of input. - ones : Return a new array setting values to one. empty : Return a new uninitialized array. + ones : Return a new array setting values to one. + full : Return a new array of given shape filled with value. Examples -------- |