diff options
author | Sebastian Berg <sebastian@sipsolutions.net> | 2020-07-02 19:09:09 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-02 19:09:09 -0500 |
commit | 3cf4c289067b6df2ddf019eed3c9f73946d960a2 (patch) | |
tree | fab576edc0921a09e887c85cfba560f67686098c | |
parent | 942add94ed3bbe479c2e6f5ca8e2a8a6d4ca4831 (diff) | |
parent | 9de802ab28252b1d1480382db96a917e7f519cfa (diff) | |
download | numpy-3cf4c289067b6df2ddf019eed3c9f73946d960a2.tar.gz |
Merge pull request #16735 from WarrenWeckesser/doc-tweak
DOC: Tweak a sentence about broadcasting.
-rw-r--r-- | numpy/doc/broadcasting.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/doc/broadcasting.py b/numpy/doc/broadcasting.py index 63975e6a9..4ac1fd129 100644 --- a/numpy/doc/broadcasting.py +++ b/numpy/doc/broadcasting.py @@ -52,8 +52,8 @@ because broadcasting moves less memory around during the multiplication General Broadcasting Rules ========================== When operating on two arrays, NumPy compares their shapes element-wise. -It starts with the trailing dimensions and works its way forward. Two -dimensions are compatible when +It starts with the trailing (i.e. rightmost) dimensions and works its +way left. Two dimensions are compatible when 1) they are equal, or 2) one of them is 1 |