diff options
author | hvy <hiroyuki.vincent.yamazaki@gmail.com> | 2019-07-24 02:50:44 +0000 |
---|---|---|
committer | hvy <hiroyuki.vincent.yamazaki@gmail.com> | 2019-07-24 02:53:00 +0000 |
commit | a3ca52f7738bc75eb5bdc6b840fe8dc674cda603 (patch) | |
tree | bd05c184a6344bd8c5cccbe296e6f7554338dea0 /numpy/lib/twodim_base.py | |
parent | e644f620a6fc9e30f93f9d37f8da2f4a700fa3eb (diff) | |
download | numpy-a3ca52f7738bc75eb5bdc6b840fe8dc674cda603.tar.gz |
DOC: fix documentation of i and j for tri.
Diffstat (limited to 'numpy/lib/twodim_base.py')
-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 f3dc6c8e1..f45392188 100644 --- a/numpy/lib/twodim_base.py +++ b/numpy/lib/twodim_base.py @@ -368,7 +368,7 @@ def tri(N, M=None, k=0, dtype=float): ------- tri : ndarray of shape (N, M) Array with its lower triangle filled with ones and zero elsewhere; - in other words ``T[i,j] == 1`` for ``i <= j + k``, 0 otherwise. + in other words ``T[i,j] == 1`` for ``j <= i + k``, 0 otherwise. Examples -------- |