Re: [sage-support] Re: Simplification / Latex question

2010-06-23 Thread Mike Witt
On 06/22/2010 12:41:17 PM, kcrisman wrote: > sage: n=var('n') > sage: f=e^(i*x*pi*n-i*2*pi*n) > sage: f.simplify_full() > e^(I*pi*n*x - 2*I*pi*n) > > # Is there a way I can get this to simplify? This apparently isn't even that easy in Maxima. Maxima 5.21.1 http://maxima.sourceforge.net using L

Re: [sage-support] Re: notebook control panel

2010-06-23 Thread Robert Bradshaw
On Jun 23, 2010, at 9:04 AM, William Stein wrote: On Wed, Jun 23, 2010 at 8:43 AM, Harald Schilly wrote: On Jun 23, 3:57 pm, kcrisman wrote: maybe because frames didn't work well or we wanted to avoid them...? I don't know the conversation but no frames please - just a floating div at a f

[sage-support] Re: notebook control panel

2010-06-23 Thread kcrisman
On Jun 23, 12:04 pm, William Stein wrote: > On Wed, Jun 23, 2010 at 8:43 AM, Harald Schilly > > wrote: > > On Jun 23, 3:57 pm, kcrisman wrote: > >> maybe because frames > >> didn't work well or we wanted to avoid them...? > > > I don't know the conversation but no frames please - just a floati

Re: [sage-support] Re: notebook control panel

2010-06-23 Thread William Stein
On Wed, Jun 23, 2010 at 8:43 AM, Harald Schilly wrote: > On Jun 23, 3:57 pm, kcrisman wrote: >> maybe because frames >> didn't work well or we wanted to avoid them...? >> > > I don't know the conversation but no frames please - just a floating > div at a fixed position would be my wish! It would

[sage-support] Re: notebook control panel

2010-06-23 Thread Harald Schilly
On Jun 23, 3:57 pm, kcrisman wrote: > maybe because frames > didn't work well or we wanted to avoid them...? > I don't know the conversation but no frames please - just a floating div at a fixed position would be my wish! It would also be really easy to add a small toggle (link or icon) to attach

[sage-support] Re: error using scipy sparse matrix

2010-06-23 Thread Jason Grout
On 6/22/10 8:25 AM, Rajeev wrote: Hi, I think following is a bug - sage: from scipy import sparse sage: a = sparse.lil_matrix((10,10)) sage: a[1,2] = 1 --- ValueErrorTraceback (most recent ca

[sage-support] Re: notebook control panel

2010-06-23 Thread kcrisman
On Jun 23, 9:25 am, David Harvey wrote: > hello, > > In the notebook, is it possible to make the various controls (e.g.   > the "action..." menu) somehow "float", so that I can access them   > without having to scroll back to the beginning of the page, when I'm   > working somewhere at the botto

[sage-support] notebook control panel

2010-06-23 Thread David Harvey
hello, In the notebook, is it possible to make the various controls (e.g. the "action..." menu) somehow "float", so that I can access them without having to scroll back to the beginning of the page, when I'm working somewhere at the bottom of a very long notebook? david -- To post to thi

Re: [sage-support] Re: Is sage 4.3.5 able to solve quadratic equations??

2010-06-23 Thread Robert Bradshaw
On Jun 21, 2010, at 10:53 PM, Matthias Meulien wrote: I guess that the problem comes from the type of p1, not being an Expression. So is it possible to cast this p1 to the Expression class? A direct conversion like the following works: sage: p3 = 0 sage: for c in p1.coeffs(): : p3 = x