[Python-ideas] Construct a matrix from a list: matrix multiplication

Greg Ewing greg.ewing at canterbury.ac.nz
Sat Apr 1 19:48:20 EDT 2017


Steven D'Aprano wrote:
> I like the idea of using * for repetition without copying, and @ for 
> repetition with shallow copying.

Shallow copying wouldn't be enough in many cases, e.g.
building a matrix with 3 or more dimensions.

-- 
Greg


More information about the Python-ideas mailing list