diff options
author | Ross Barnowski <rossbar@berkeley.edu> | 2020-06-25 20:34:26 -0700 |
---|---|---|
committer | Ross Barnowski <rossbar@berkeley.edu> | 2020-06-25 20:34:26 -0700 |
commit | bf11f95e33c68c2666a6551287c79942a72cf378 (patch) | |
tree | 333e597828a4642690ec96a5216c986565fb59d6 /numpy | |
parent | c37dc5f1cf5d42ddf05e0cd04a7fc528f30f20e5 (diff) | |
download | numpy-bf11f95e33c68c2666a6551287c79942a72cf378.tar.gz |
DOC: rm matrix from triu docstring.
Replace "matrix" with "array" to avoid confusion
re: np.matrix. Consistent with other np.tri\* functions.
Diffstat (limited to 'numpy')
-rw-r--r-- | numpy/lib/twodim_base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/twodim_base.py b/numpy/lib/twodim_base.py index 320a24856..2bb4c78a5 100644 --- a/numpy/lib/twodim_base.py +++ b/numpy/lib/twodim_base.py @@ -441,7 +441,7 @@ def triu(m, k=0): """ Upper triangle of an array. - Return a copy of a matrix with the elements below the `k`-th diagonal + Return a copy of an array with the elements below the `k`-th diagonal zeroed. Please refer to the documentation for `tril` for further details. |