Visualize-ML / Book1_Python-For-Beginners

Book_1_《编程不难》 | 鸢尾花书:从加减乘除到机器学习;请多多批评指正!
4.55k stars 879 forks source link

Book_1_Ch_18__NumPy线性代数_Page5 #43

Closed lang07123 closed 1 year ago

lang07123 commented 1 year ago

图片

在 NumPy 中矩阵乘法的运算符为 @。 这句话描述不是很准确, 应该是在Python中可以使用@作为Numpy的矩阵乘法运算符, 因为@ 是Python的运算符功能, 而不是 Numpy的

参考 PEP 465 - 用于矩阵乘法的专用中缀运算符

Visualize-ML commented 1 year ago

谢谢你!这一处确实表述不准确。请继续批评指正。

Cheers, James

On Tue, Jul 4, 2023 at 10:29 PM lang07123 @.***> wrote:

[image: 图片] https://user-images.githubusercontent.com/7733095/251020677-7b5a0e81-04e1-4ecc-983f-59db94b60b68.png

在 NumPy 中矩阵乘法的运算符为 @。 这句话描述不是很准确, 应该是在Python中可以使用@作为矩阵乘法运算符, 因为@ 是Python的运算符功能, 而不是 Numpy的

参考 PEP 465 - 用于矩阵乘法的专用中缀运算符 https://docs.python.org/zh-cn/3/whatsnew/3.5.html?whatsnew-pep-465#whatsnew-pep-465

— Reply to this email directly, view it on GitHub https://github.com/Visualize-ML/Book1_Python-For-Beginners/issues/43, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZHC6V6ZDQJZ2UCXMTZ77GTXOTGSBANCNFSM6AAAAAAZ6KHQQQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>