3 ms·
The PEP adding a matrix multiplication operator to Python also contains a section about the advantage of an operator in that case: https://www.python.org/dev/pe
by 1wd 7y ago
The PEP adding a matrix multiplication operator to Python also contains a section about the advantage of an operator in that case: https://www.python.org/dev/peps/pep-0465/#why-should-matrix-multiplication-be-infix https://www.python.org/dev/peps/pep-0465/#why-should-matrix-...
On the other hand adding a ~ operator similar to R seems was just rejected: https://mail.python.org/archives/list/python-ideas@python.org/thread/GE77ACXLJMLHCTK73MKVKEW47GAVQOHZ/ https://mail.python.org/archives/list/python-ideas@python.or...