> In the matrix constructor (matrix in sage/matrix/constructor.py): > > entries = sum([list(v) for v in args[0]], []) <--- this is bad > (quadratic in the length of argv[0] which is the number of rows here)
and to be complete, this could be replaced by: entries = [] for v in args[0]: entries.extend(v) Yann -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
