Re: [sage-support] How to list (and remove) loaded objects in a sage session

2010-01-16 Thread William Stein
2010/1/16 Shing Hing Man : > Hi, >   In a Sage session (within notebook or command console) ,  how to > list all the loaded objects and how to remove them from the session ? Use show_identifiers and reset: sage: X = 10 sage: show_identifiers() ['X', 'Out', 'variables', 'In', 'view_all'] sage: res

[sage-support] Re: How to list (and remove) loaded objects in a sage session

2010-01-16 Thread Simon King
PS: On 17 Jan., 01:03, Simon King wrote: > Concerning "remove from the session": See > http://docs.python.org/library/gc.html >... > But that't the job of Python's garbage collector! > In other words, I think there is no need to actively remove anything. That said: The above reference is just m

[sage-support] Re: How to list (and remove) loaded objects in a sage session

2010-01-16 Thread Simon King
Hi Shing! On 16 Jan., 18:18, Shing Hing Man wrote: > Hi, >    In a Sage session (within notebook or command console) ,  how to > list all the loaded objects and how to remove them from the session ? AFAIK, it is the same as in Python, so, if you need references, it would be the Python documenta

[sage-support] How to list (and remove) loaded objects in a sage session

2010-01-16 Thread Shing Hing Man
Hi, In a Sage session (within notebook or command console) , how to list all the loaded objects and how to remove them from the session ? I would like to reuse a connection using the simple server API. From time to time, I need to clear loaded objects in the session. Thanks in advance for any

[sage-support] Re: Three index number table

2010-01-16 Thread Kakaz
On 16 Sty, 12:35, Minh Nguyen wrote: > Hi, Thanks a lot! Kazek -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sag

Re: [sage-support] Three index number table

2010-01-16 Thread Minh Nguyen
Hi, On Sat, Jan 16, 2010 at 9:38 PM, Kakaz wrote: > I would like to ask: how to create in Sage table of numbers with > three indexes, something like C[i,j,k]? Sage is based on Python, so creating multidimensional tables in Sage is similar to how you would do it in Python. You can do it using li