1.

Why Not Just Have A Separate Operator For Matrix Multiplication?

Answer»

From Python 3.5, the @ SYMBOL will be defined as a matrix multiplication operator, and Numpy and Scipy will make use of this. This addition was the subject of PEP 465. The SEPARATE matrix and array types exist to WORK around the lack of this operator in earlier versions of Python.

From Python 3.5, the @ symbol will be defined as a matrix multiplication operator, and Numpy and Scipy will make use of this. This addition was the subject of PEP 465. The separate matrix and array types exist to work around the lack of this operator in earlier versions of Python.



Discussion

No Comment Found