[sage-support] Lexicographic ordering in Sage

2011-06-30 Thread Santanu Sarkar
I have a set S of monomials in x1, x2, x3, x4 like S=[x3x4,x2x3,x1x4,x4,x3,x1x2,x1,x2,1]. I want to rearrange S in Lexicographic ordering like S=[1,x1,x2,x1x2,x3,x2x3,x4,x1x4, x3x4]. -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send

Re: [sage-support] solve() exception when variable names contain brackets

2011-06-30 Thread Laurent
Le 29/06/2011 22:22, Michael Orlitzky a écrit : This is probably just a case of don't do that, but I thought I'd check: sage: c = [ var('c[0]') ] sage: system = c[0]*x == 1 sage: solve(system, c[0]) boom ... TypeError: unable to make sense of Maxima expression '[c[0]==1/x]' in

Re: [sage-support] Lexicographic ordering in Sage

2011-06-30 Thread amaseam
On 2011-06-30, Santanu Sarkar wrote: I have a set S of monomials in x1, x2, x3, x4 like S=[x3x4,x2x3,x1x4,x4,x3,x1x2,x1,x2,1]. I want to rearrange S in Lexicographic ordering like S=[1,x1,x2,x1x2,x3,x2x3,x4,x1x4, x3x4]. You can sort a list and specify the comparison function. See the help

Re: [sage-support] Re: Expand complex exponential using eulers formula

2011-06-30 Thread Burcin Erocal
On Wed, 29 Jun 2011 19:54:06 -0700 (PDT) ObsessiveMathsFreak obsessivemathsfr...@gmail.com wrote: This is pretty infuriating. Unfortunately we haven't worked out the interaction between maxima's assume() function and GiNaC/Pynac's knowledge of domains yet. sage: forget() sage:

[sage-support] Re: Failure to import Sage-4.7.ova into VirtualBox under Win7

2011-06-30 Thread Volker Braun
Just to double-check, your md5sum is 3eadcc287c92c5391417b517e01edd9b? It does work for me. Do you happen to have any umlaut in the directory path? This can apparently cause this error, see http://www.virtualbox.org/ticket/6588. -- To post to this group, send email to

[sage-support] Re: Failure to import Sage-4.7.ova into VirtualBox under Win7

2011-06-30 Thread Volker Braun
I just realized that the file name is called Sage-4.7.ova but it should be sage-4.7.ova (lower case!). Virtualbox is unfortunately very picky about the file name. This is http://www.virtualbox.org/ticket/9033. Harald: can you fix the file name on the download page? -- To post to this group,

[sage-support] Re: Failure to import Sage-4.7.ova into VirtualBox under Win7

2011-06-30 Thread Harald Schilly
On Thu, Jun 30, 2011 at 13:48, Volker Braun vbraun.n...@gmail.com wrote: I just realized that the file name is called Sage-4.7.ova but it should be sage-4.7.ova (lower case!). Virtualbox is unfortunately very picky about the file name. This is http://www.virtualbox.org/ticket/9033. Harald: can

[sage-support] Re: Failure to import Sage-4.7.ova into VirtualBox under Win7

2011-06-30 Thread Volker Braun
Kart-Dieter Crisman suggested at SD31 that the virtualbox machine file name should be lower case to be consistent with the other Sage downloads. I then implemented this in the newer version of the Sage virtual appliance. So this is where the confusion comes from. But I agree of course that

Re: [sage-support] Expand complex exponential using eulers formula

2011-06-30 Thread Francois Maltey
ObsessiveMathsFreak wrote : I have complex formulas involving several occurances of complex exponentials. e.g. e^(2*I*theta), e^(3*I*theta) I would like to find the real part of the expression (there are several variables), but when I do so, the expression becomes unwieldy with a lot of terms