2008/9/23 Simon King <[EMAIL PROTECTED]>: > > On Sep 23, 3:31 pm, "John Cremona" <[EMAIL PROTECTED]> wrote: >> The rest of your query is hard to interpret. To "create a list of >> equal elements", say a list of 5 copies of the matrix m, do this: >> sage: [m]*5 > > But this would not create a list of 5 *copies* of m. The five entries > of that list are one and the same object, namely m:
Excellent point, thanks for correcting me! --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---