Skip to content

Commit 7ba30f5

Browse files
committed
Merge pull request #28 from warmspringwinds/numpy_tutorial_mistake_correction
small mistake was corrected
2 parents 142444e + c986896 commit 7ba30f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python-numpy-tutorial.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -766,7 +766,7 @@ print y
766766
This works; however when the matrix `x` is very large, computing an explicit loop
767767
in Python could be slow. Note that adding the vector `v` to each row of the matrix
768768
`x` is equivalent to forming a matrix `vv` by stacking multiple copies of `v` vertically,
769-
then performing elementwise multiplication of `x` and `vv`. We could implement this
769+
then performing elementwise summation of `x` and `vv`. We could implement this
770770
approach like this:
771771

772772
```python

0 commit comments

Comments
 (0)