[sage-support] question to David Joyner about the rubik's cube

2009-02-25 Thread Pierre
hi there, sorry if this is not really sage-related (it is in a way). So David, i'm currently reading your book adventures in group theory, and i'm thoroughly enjoying it. I'm sure it will also be of great help when i finally teach sage in my university (the switch from maple is about to happen,

[sage-support] Expand an expression and a notebook problem

2009-02-25 Thread Fall In Love with Sage
1. How can I expand (a + b + c + d)^4 in Sage? 2. How can I see all my notebooks in Sage? I have a few notebooks. However, I do not remember their names. --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from

[sage-support] Re: Expand an expression and a notebook problem

2009-02-25 Thread Minh Nguyen
Hi, On Wed, Feb 25, 2009 at 10:24 AM, Fall In Love with Sage cs.losi...@gmail.com wrote: 1. How can I expand (a + b + c + d)^4 in Sage? Using Sage 3.3 you can do this: sage: a, b, c, d = var(a b c d) sage: expand((a + b + c + d)^4) d^4 + 4*c*d^3 + 4*b*d^3 + 4*a*d^3 + 6*c^2*d^2 + 12*b*c*d^2 +

[sage-support] Re: Expand an expression and a notebook problem

2009-02-25 Thread Harald Schilly
Fall In Love with Sage wrote: 2. How can I see all my notebooks in Sage? I have a few notebooks. However, I do not remember their names. Uhm, click on Home at the top row menu? If that's not what you want please be more specific. H --~--~-~--~~~---~--~~ To post

[sage-support] Re: question to David Joyner about the rubik's cube

2009-02-25 Thread David Joyner
To implement M_R in Sage would be non-trivial, since it is a pair of moves followed by a solid cube rotation. The rotation changes *all* the moves which follow it. So to implement X*M_R*Y (reading left-to-right) in Sage you'd have to change Y. I've done it in a few cases to check moves but it is

[sage-support] Re: showing the status of a computation without generating long output

2009-02-25 Thread Simon King
Hi Marco, On Feb 25, 1:52 pm, Marco Streng marco.str...@gmail.com wrote: If I use the print command, then such information will accumulate and make it impossible to scroll back to the rest of my terminal session, or if I use a notebook, it makes the notebook very untidy and long. Sorry that

[sage-support] Re: question to David Joyner about the rubik's cube

2009-02-25 Thread Pierre
To implement M_R in Sage would be non-trivial, since it is a pair of moves followed by a solid cube rotation. The rotation changes *all* the moves which follow it. So to implement X*M_R*Y (reading left-to-right) in Sage you'd have to change Y. I see! In a sense i was sort of right. Now it

[sage-support] Data from mysql

2009-02-25 Thread leonardoparada
Some times we need input a lot of data, for estadistics analisys Can I get automaticly data from MySql DataBase? --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to

[sage-support] Re: showing the status of a computation without generating long output

2009-02-25 Thread Stephen Hartke
On Wed, Feb 25, 2009 at 6:52 AM, Marco Streng marco.str...@gmail.comwrote: I'm doing a long computation in Sage and I'd like to be able to print some status information to the screen, such as the number of database entries that I have tested, or the total time spent on different parts of an

[sage-support] Re: showing the status of a computation without generating long output

2009-02-25 Thread William Stein
On Wed, Feb 25, 2009 at 9:03 AM, Stephen Hartke har...@gmail.com wrote: On Wed, Feb 25, 2009 at 6:52 AM, Marco Streng marco.str...@gmail.com wrote: I'm doing a long computation in Sage and I'd like to be able to print some status information to the screen, such as the number of database

[sage-support] Re: Data from mysql

2009-02-25 Thread Robert Bradshaw
Yes--you can install any Python package that interacts with MySQL right in Sage's Python environment. Just type sage -sh first and then install it (via setup.py or easy_install) just as you would in any other Python environment. Then you can import it and use it from all your scripts. -

[sage-support] Re: Data from mysql

2009-02-25 Thread William Stein
On Wed, Feb 25, 2009 at 7:07 AM, leonardoparada leonardoparadavalen...@gmail.com wrote: Some times we need input a lot of data, for estadistics analisys Can I get automaticly data from MySql DataBase? Sage includes SQLAlchemy http://www.sqlalchemy.org/ which provides a Sage interface

[sage-support] Re: ideals of points

2009-02-25 Thread Alex Raichev
Hi Dave: Once you have your zero-dimensional ideal K within a Sage ring, you could try the variety() command K.variety(ring=QQbar) or K.variety(ring=CC) to get its solutions as algebraic numbers or complex floating point numbers, respectively. See 'variety()' under

[sage-support] Re: 3D animation

2009-02-25 Thread Crab
Hum... I talked to my colleague again today and convinced him to give SAGE a try and to produce the animation using ffmpeg. Now the question is: in sage is it possible to save the sequences of images as a batch process (verses saving them one-by-one by hand)? Also he wonders if it possible to