[sage-devel] Re: Some contributions to the "units" module

2010-08-22 Thread cousteau
On 22 ago, 15:41, Oscar Lazo wrote: > A general "physics" module would be nice too, we could put some other > things there once we are satisfied with units. In particular, I'd like > to see physical constants. So far i cannot get sage to render plank's > reduced constant as hbar. > > Cheers! > > O

[sage-devel] Re: Sage returns complex solutions to equation with real solutions

2010-08-22 Thread cousteau
On 22 ago, 22:23, Oscar Gerardo Lazo Arjona wrote: > I'm trying to find the solutions to solve this equation > > sage: a=8594.0*x^3 - 30768.0 *x^2 + 36399.0 *x -14224.0 > sage: b=solve(a==0,x) > sage: for i in b: > :     c=i.rhs() > :     print c.n() > : > 1.19783952189420 - 4.16333634

[sage-devel] Sage returns complex solutions to equation with real solutions

2010-08-22 Thread Oscar Gerardo Lazo Arjona
I'm trying to find the solutions to solve this equation sage: a=8594.0*x^3 - 30768.0 *x^2 + 36399.0 *x -14224.0 sage: b=solve(a==0,x) sage: for i in b: : c=i.rhs() : print c.n() : 1.19783952189420 - 4.16333634234434e-17*I 0.998467807920659 + 1.38777878078145e-17*I 1.3838648833

[sage-devel] Re: Sage returns complex solutions to equation with real solutions

2010-08-22 Thread Dima Pasechnik
well, Mathematica probably does a counting of real roots before solving (and in any event an equation of odd degree with real coefficients is guaranteed to get at least one real solution). It could also be that it just does a more aggressive rounding than Sage. In any event you can do this rounding

Re: [sage-devel] Sage returns complex solutions to equation with real solutions

2010-08-22 Thread Jeroen Demeyer
On 2010-08-22 22:23, Oscar Gerardo Lazo Arjona wrote: > I'm trying to find the solutions to solve this equation > > sage: a=8594.0*x^3 - 30768.0 *x^2 + 36399.0 *x -14224.0 > sage: b=solve(a==0,x) > sage: for i in b: > : c=i.rhs() > : print c.n() > : > 1.19783952189420 - 4.16333

[sage-devel] Re: graphviz / dot2tex support

2010-08-22 Thread Dima Pasechnik
On Aug 22, 3:12 pm, "Nicolas M. Thiery" wrote: > On Sat, Aug 14, 2010 at 09:50:29PM -0700, William Stein wrote: > > RuntimeError: > > dot2tex not available. > > > Please see :meth:`sage.graphs.generic_graph.GenericGraph.layout_graphviz` > > for installation instructions. > > > > > > I tried

[sage-devel] Differential forms (Trac #9650)

2010-08-22 Thread jvkersch
Hi all, This is just a short notice to say that I've uploaded (a while back) a patch for support of differential forms to Sage, see: http://trac.sagemath.org/sage_trac/ticket/9650 Symbolic computations with tensors etc. have come up a number of times on this mailing list, so I thought maybe

[sage-devel] Re: Some contributions to the "units" module

2010-08-22 Thread Oscar Lazo
A general "physics" module would be nice too, we could put some other things there once we are satisfied with units. In particular, I'd like to see physical constants. So far i cannot get sage to render plank's reduced constant as hbar. Cheers! Oscar. On Aug 22, 5:30 am, cousteau wrote: > On 22

[sage-devel] graphviz / dot2tex support

2010-08-22 Thread Nicolas M. Thiery
On Sat, Aug 14, 2010 at 09:50:29PM -0700, William Stein wrote: > RuntimeError: > dot2tex not available. > > Please see :meth:`sage.graphs.generic_graph.GenericGraph.layout_graphviz` > for installation instructions. > > > > I tried installing dot2tex on sage.math.washington.edu (via apt-get)

[sage-devel] Re: Some contributions to the "units" module

2010-08-22 Thread cousteau
On 22 ago, 06:20, Oscar Lazo wrote: > I will check this as soon as I can. I too was not very satisfied with > the units module. In particular, I did not like the way SI prefixes > are handled. Also, this: > > sage: m=units.length.m > sage: sqrt(m^2) > sqrt(meter^2) > > When I'd expect to get "mete

Re: [sage-devel] SYMPOW - problem solved, awaiting review

2010-08-22 Thread Dr. David Kirkby
On 08/22/10 09:39 AM, Jeroen Demeyer wrote: On 2010-08-22 10:38, Jeroen Demeyer wrote: I thought the new PARI doesn't work on Solaris. In fact, you wrote on http://trac.sagemath.org/sage_trac/ticket/9343#comment:281 I can confirm what John found on 't2.math' - this package is now broken on So

Re: [sage-devel] SYMPOW - problem solved, awaiting review

2010-08-22 Thread Dr. David Kirkby
On 08/22/10 09:38 AM, Jeroen Demeyer wrote: On 2010-08-22 03:45, Dr. David Kirkby wrote: I don't know if sage 4.6 is going to be an exclusively Pari release, but if not, it would be really good to get #9703 and #9735 merged, as then there are two new complete ports, where all doc tests pass *

Re: [sage-devel] SYMPOW - problem solved, awaiting review

2010-08-22 Thread Jeroen Demeyer
On 2010-08-22 10:38, Jeroen Demeyer wrote: > I thought the new PARI doesn't work on Solaris. In fact, you wrote on > http://trac.sagemath.org/sage_trac/ticket/9343#comment:281 >> I can confirm what John found on 't2.math' - this package is now > broken on Solaris 10 SPARC in at least 32-it mode.

Re: [sage-devel] SYMPOW - problem solved, awaiting review

2010-08-22 Thread Jeroen Demeyer
On 2010-08-22 03:45, Dr. David Kirkby wrote: > I don't know if sage 4.6 is going to be an exclusively Pari release, but > if not, it would be really good to get #9703 and #9735 merged, as then > there are two new complete ports, where all doc tests pass > > * Solaris 10 x86 (32-bit) I thought the