3

Click here to load reader

Pep 465 - Matrix Multiplication in Python

Embed Size (px)

DESCRIPTION

Jaime Fernández presented on PEP465 regarding a new matrix multiplication operator in Python at San Diego Python on June 26, 2014.

Citation preview

Page 1: Pep 465 - Matrix Multiplication in Python

pep 465 a dedicated infix operator for matrix multiplication

June 2014 Jaime Fernández ([email protected])

San Diego Python Users Group

Page 2: Pep 465 - Matrix Multiplication in Python

matrix multiplication vs. hadamard product

matrix multiplication hadamard product

Page 3: Pep 465 - Matrix Multiplication in Python

implementation details

New operators: •

Magic methods •

Precedence and associativity • left associative • same precedence as