3 ms·
The PEP explains this: "In numerical code, there are two important operations which compete for use of Python's * operator: elementwise multiplication, and mat
by danohuiginn 13y ago
The PEP explains this:
"In numerical code, there are two important operations which compete for use of Python's * operator: elementwise multiplication, and matrix multiplication"
The idea is to keep using * for elementwise multiplication, and use @ for matrix multiplication.