[sage-support] Re: sage fails to run in binary

2009-03-09 Thread William Stein
On Mon, Mar 9, 2009 at 8:07 PM, gsage wrote: > > > > On Mar 9, 6:32 pm, gsage wrote: >> I extracted atom binary on my eeepc 900A. The following error message >> occurs >> >> Error setting environment variables by running /home/net/documents/ >> python programs/sage-3.2.3-ubuntu-Intel_AtomN27

[sage-support] Re: Object changes its contents after saved (sage 3.1.1)

2009-03-09 Thread Craig Citro
Hi Alex, > After I found a bug in sage 3.2.3 ( see Division error in Sage 3.3 but > not in Sage 3.1.1 posted march 7, 2009), I decided used sage 3.1.1. > Now I have a problem with sage 3.1.1 > 1. the program generate the object H > 2. save H > 3. G =load(H) > So this is a pretty funky bug -- how

[sage-support] Re: changing notebook stylesheet - i can't find it?

2009-03-09 Thread compound eye
thanks Tim On Mar 9, 2:11 pm, Timothy Clemans wrote: > Hi, > > You can customize the notebook css by creating your own css file at > $HOME/.sage/notebook.css > > The main css code is > athttp://hg.sagemath.org/sage-main/file/b0aa7ef45b3c/sage/server/notebo... > > On Sun, Mar 8, 2009 at 7:59 PM,

[sage-support] Re: sage fails to run in binary

2009-03-09 Thread gsage
On Mar 9, 6:32 pm, gsage wrote: > I extracted atom binary on my eeepc 900A. The following error message > occurs > > Error setting environment variables by running /home/net/documents/ > python programs/sage-3.2.3-ubuntu-Intel_AtomN270-Netbook-i686-Linux/ > local/bin/sage-env; possibly cont

[sage-support] Re: Object changes its contents after saved (sage 3.1.1)

2009-03-09 Thread Justin Walker
D'oh! On Mar 9, 2009, at 7:30 PM, Mike Hansen wrote: > > On Mon, Mar 9, 2009 at 7:24 PM, Justin Walker wrote: >> FWIW, the problem shows in Sage 3.3 (the -1 and -2 entries are >> interchanged; the rest show in the same order). > > There is no guarantee on the order of the elements when you iter

[sage-support] Re: Object changes its contents after saved (sage 3.1.1)

2009-03-09 Thread Mike Hansen
On Mon, Mar 9, 2009 at 7:24 PM, Justin Walker wrote: > FWIW, the problem shows in Sage 3.3 (the -1 and -2 entries are > interchanged; the rest show in the same order). There is no guarantee on the order of the elements when you iterate through a dictionary. --Mike --~--~-~--~~-

[sage-support] Re: Object changes its contents after saved (sage 3.1.1)

2009-03-09 Thread Justin Walker
On Mar 9, 2009, at 6:42 PM, Mike Hansen wrote: > > On Mon, Mar 9, 2009 at 6:37 PM, Alex Lara wrote: >> Some idea of how to fix this? > > I don't have a copy of Sage 3.1.1 handy right now since it is so old. > In Sage 3.4.rc0, I run your code and get H and G to be the same. FWIW, the problem sh

[sage-support] Re: Object changes its contents after saved (sage 3.1.1)

2009-03-09 Thread Mike Hansen
On Mon, Mar 9, 2009 at 6:37 PM, Alex Lara wrote: > Some idea of how to fix this? I don't have a copy of Sage 3.1.1 handy right now since it is so old. In Sage 3.4.rc0, I run your code and get H and G to be the same. --Mike --~--~-~--~~~---~--~~ To post to this g

[sage-support] Object changes its contents after saved (sage 3.1.1)

2009-03-09 Thread Alex Lara
Hi guys, After I found a bug in sage 3.2.3 ( see Division error in Sage 3.3 but not in Sage 3.1.1 posted march 7, 2009), I decided used sage 3.1.1. Now I have a problem with sage 3.1.1 1. the program generate the object H 2. save H 3. G =load(H) I assume G == H, but it doesn't happens. See the f

[sage-support] Re: instructions for installing sage do not work

2009-03-09 Thread kcrisman
On Mar 9, 1:03 pm, nsauer wrote: > Thanks for your help, everything works great now. Great! > How do I write matrices inside [ ] instead of ( )  ? I'm not sure - can you be more specific about what command you are trying, what output you are getting, and what output you desire? - kcrisman -

[sage-support] sage fails to run in binary

2009-03-09 Thread gsage
I extracted atom binary on my eeepc 900A. The following error message occurs Error setting environment variables by running /home/net/documents/ python programs/sage-3.2.3-ubuntu-Intel_AtomN270-Netbook-i686-Linux/ local/bin/sage-env; possibly contact sage-devel (see http://groups.google.com/g

[sage-support] Re: sage simplification

2009-03-09 Thread Martin Rubey
Maurizio writes: > What is the reason to have such a bugged function? I wouldn't consider > > sage: var('omgo zr ys cz') > > (omgo, zr, ys, cz) > > sage: omgo = (sqrt(-zr^2 + 2*ys*zr + (2*cz - zr)^2 - 2*ys*(2*cz - zr)) > > + 2*zr- 2*cz)/(2*zr - 2*cz) > > sage: omgo.simplify_full() > > (I*sqrt

[sage-support] Re: sage simplification

2009-03-09 Thread Maurizio
What is the reason to have such a bugged function? When can we trust it? On 9 Mar, 14:18, Stan Schymanski wrote: > Just a word of caution with respect to simplify_full(). > > If your function involves floating point numbers, simplify_full() can > give an erroneous result (see bug #2604950 in Ma

[sage-support] Re: Why two functions matrix.invert(), matrix.inverse()?

2009-03-09 Thread John H Palmieri
On Mar 9, 9:35 am, William Stein wrote: [snip] > That sounds likely.  The somebody was probably me.  I hope somebody > opens a track > ticket to deprecate, then remove (in some number of months) "invert". John --~--~-~--~~---

[sage-support] Re: symbolic matrix multiplication in sage

2009-03-09 Thread Robert Bradshaw
On Mar 9, 2009, at 4:44 AM, David Joyner wrote: > On Sun, Mar 8, 2009 at 1:43 PM, alex > wrote: >> >> How can i compute the matrix multiplication (product) of two symbolic >> matrices in sage ? >> >> I have tried: >> A = maxima("matrix ([a, b], [c, d])") >> AI= A.invert() >> >> and >> A * AI >>

[sage-support] Re: instructions for installing sage do not work

2009-03-09 Thread nsauer
Thanks for your help, everything works great now. How do I write matrices inside [ ] instead of ( ) ? On Mar 9, 7:38 am, kcrisman wrote: > > The terminal opened as follows: > > Last login: Sun Mar  8 16:23:08 on console > > /Applications/sage/sage ; exit; > > You have mail. > > Laptop-3:~ test$

[sage-support] Re: Why two functions matrix.invert(), matrix.inverse()?

2009-03-09 Thread William Stein
On Sun, Mar 8, 2009 at 7:35 PM, Omar wrote: > > Does anybody know why there are two methods to invert matrices? > > One of them is called m.inverse() and the other is m.invert(). > > invert() seems to be only defined for dense matrices with rational > entries, and inverse() seems to work for both

[sage-support] Re: instructions for installing sage do not work

2009-03-09 Thread kcrisman
> > The terminal opened as follows: > Last login: Sun Mar  8 16:23:08 on console > /Applications/sage/sage ; exit; > You have mail. > Laptop-3:~ test$ /Applications/sage/sage ; exit; > -- > | Sage Version 3.2.3, Release Date: 2009

[sage-support] Re: sage simplification

2009-03-09 Thread Stan Schymanski
Just a word of caution with respect to simplify_full(). If your function involves floating point numbers, simplify_full() can give an erroneous result (see bug #2604950 in Maxima or http://groups.google.com/group/sage-devel/browse_thread/thread/5613095ef16c9ead/43a97f9690f5f8af?lnk=gst&q=simplify

[sage-support] Re: symbolic matrix multiplication in sage

2009-03-09 Thread David Joyner
On Sun, Mar 8, 2009 at 1:43 PM, alex wrote: > > How can i compute the matrix multiplication (product) of two symbolic > matrices in sage ? > > I have tried: > A = maxima("matrix ([a, b], [c, d])") > AI= A.invert() > > and > A * AI > gives > matrix([a*d/(a*d-b*c),-b^2/(a*d-b*c)],[-c^2/(a*d-b*c),a*

[sage-support] Re: symbolic matrix multiplication in sage

2009-03-09 Thread Simon King
Dear Alex, On Mar 9, 12:21 pm, alex wrote: > . do not work. > I have tried > A.AI > A . AI This does not work because A and AI live in Sage, and in Sage the dot does not mean multiplication. A.AI means "look for an attribute named AI of the object A". Since A has no attribute of that name, I t

[sage-support] Re: symbolic matrix multiplication in sage

2009-03-09 Thread alex
. do not work. I have tried A.AI A . AI and maxima("A.AI") please help me thx On Mar 9, 5:58 am, Robert Dodier wrote: > alex wrote: > > How can i compute the matrix multiplication (product) of two symbolic > > matrices in sage ? > > > I have tried: > > A = maxima("matrix ([a, b], [c, d])") > >