[sage-support] Re: Simplify an expression

2009-07-20 Thread Simon King
Hi Roland, On 21 Jul., 06:33, Rolandb wrote: > Hi, > How to simplify an expression if you have some known relations > (equalities)? Example: > > relation: 0 = a*x1^2 + b*x2^2 > expression = (a*x1^2 + b*x2^2)*y1+b*y2^3 Are all your relations polynomial? Then the standard solution is to use Gröbn

[sage-support] Re: Problems in Compiling Sage in OLPC-XO

2009-07-20 Thread Minh Nguyen
Hi Elizabeth, On Tue, Jul 21, 2009 at 3:22 PM, Elizabeth Yip wrote: > > Hello > > I installed a customized version of Ubuntu Intrepid for my OLPC-XO > using a 2G USB drive and tried to make SAGE for the XO on another 2G > USB drive under Ubuntu. > > Previously, I've successfully installed sage-4

[sage-support] Problems in Compiling Sage in OLPC-XO

2009-07-20 Thread Elizabeth Yip
Hello I installed a customized version of Ubuntu Intrepid for my OLPC-XO using a 2G USB drive and tried to make SAGE for the XO on another 2G USB drive under Ubuntu. Previously, I've successfully installed sage-4.1 on my desktop machine. I did a du on the sage-4.1 directory, sage-4.1 uses 195

[sage-support] Simplify an expression

2009-07-20 Thread Rolandb
Hi, How to simplify an expression if you have some known relations (equalities)? Example: relation: 0 = a*x1^2 + b*x2^2 expression = (a*x1^2 + b*x2^2)*y1+b*y2^3 Given the relation, the expression could be simplified to b*y2^2. But how in Sage? Tnx in advance. Rolandb --~--~-~--~~---

[sage-support] Re: Fedora 11 binary install: ImportError: No module named _md5

2009-07-20 Thread William Stein
On Mon, Jul 20, 2009 at 4:04 PM, mjs wrote: > > I installed the Fedora 10 release of Sage 4.1 on a Fedora 11 machine. > When I invoke sage, it terminates with the following errors: > > $ sage > -- > | Sage Version 4.1, Release Dat

[sage-support] Fedora 11 binary install: ImportError: No module named _md5

2009-07-20 Thread mjs
I installed the Fedora 10 release of Sage 4.1 on a Fedora 11 machine. When I invoke sage, it terminates with the following errors: $ sage -- | Sage Version 4.1, Release Date: 2009-07-09 | | Type notebook()

[sage-support] Re: Rendering latex

2009-07-20 Thread William Stein
On Mon, Jul 20, 2009 at 3:30 PM, VictorMiller wrote: > > I have a program which calculates a table of values, and I'd like to > display it nicely formatted.  I've written a function to produce latex > for it (using tabular), but I can't figure out how to get SAGE to > display this in a notebook.  

[sage-support] Re: Rendering latex

2009-07-20 Thread John H Palmieri
On Jul 20, 3:30 pm, VictorMiller wrote: > I have a program which calculates a table of values, and I'd like to > display it nicely formatted.  I've written a function to produce latex > for it (using tabular), but I can't figure out how to get SAGE to > display this in a notebook.  I've tried t

[sage-support] Rendering latex

2009-07-20 Thread VictorMiller
I have a program which calculates a table of values, and I'd like to display it nicely formatted. I've written a function to produce latex for it (using tabular), but I can't figure out how to get SAGE to display this in a notebook. I've tried the html command but that doesn't work. Here's a sm

[sage-support] Re: correlation coefficient

2009-07-20 Thread Marshall Hampton
The bias defaults to False, which means the covariance is calculated with a division by N-1 instead of N. This is what should be used when sampling from a population. If you have data on an entire population, you want the biased estimator which divides by N. For large N this will make very lit

[sage-support] correlation coefficient

2009-07-20 Thread Mikie
Still working on my Stats server. Is there a function in Scipy that will calculate the correlation coef.? I have found something that looks good, but I do not understand the parameters. scipy.stats.corrcoef(x,y,rowvar, bias) x,y represents the independent, dependent variables, rows, I don't u

[sage-support] Re: compatibility mode in sage 4.x?

2009-07-20 Thread Jason Grout
Stan Schymanski wrote: > Thanks, Laurent. I figured that out, but it is quite tedious to have to > go through each worksheet and change the soln[0][1] to soln[0].rhs(). > There are other things that work differently now and of course there are > new ways how to achieve the same results, which m

[sage-support] Re: compatibility mode in sage 4.x?

2009-07-20 Thread Stan Schymanski
Thanks, Laurent. I figured that out, but it is quite tedious to have to go through each worksheet and change the soln[0][1] to soln[0].rhs(). There are other things that work differently now and of course there are new ways how to achieve the same results, which might be more elegant. However,

[sage-support] Re: compatibility mode in sage 4.x?

2009-07-20 Thread Laurent
Stan Schymanski ha scritto: > Hi Jason, > > I gave an example for what does not work here: > http://groups.google.com/group/sage-support/browse_thread/thread/17c717e8bfbdd367/b2fdb60e1f33b43e#b2fdb60e1f33b43e > > Today I noticed that my old use of .subs(locals()) now leads to an > error, too. >

[sage-support] Re: compatibility mode in sage 4.x?

2009-07-20 Thread Stan Schymanski
Hi Jason, I gave an example for what does not work here: http://groups.google.com/group/sage-support/browse_thread/thread/17c717e8bfbdd367/b2fdb60e1f33b43e#b2fdb60e1f33b43e Today I noticed that my old use of .subs(locals()) now leads to an error, too. I could try to copy the notebook to somew

[sage-support] Re: compatibility mode in sage 4.x?

2009-07-20 Thread Jason Grout
Stan Schymanski wrote: > Dear all, > > Since the upgrade to 4.x, most of my old worksheets don't work any > more and I wondered if there is a possibility to run sage 4.x in a > compatibility mode so that the old code would work again. I also have > an old install of 3.4.1 on my system, but for so

[sage-support] compatibility mode in sage 4.x?

2009-07-20 Thread Stan Schymanski
Dear all, Since the upgrade to 4.x, most of my old worksheets don't work any more and I wondered if there is a possibility to run sage 4.x in a compatibility mode so that the old code would work again. I also have an old install of 3.4.1 on my system, but for some reason it can't open the Maxima

[sage-support] Re: Problem building Sage 4.1 from source on Fedora 11

2009-07-20 Thread gsw
Hi, thanks for the report! It seems to me a known bug, whose patch is already at: http://sagetrac.org/sage_trac/ticket/6374 but which isn't incorporated in Sage-4.1 yet. Hopefully the patch (is good and) will make it into Sage-4.1.1. Kind regards, Georg --~--~-~--~~~--