[sage-support] simplify ans sqrt

2011-01-25 Thread Loïc
Hello list, Version: sage 4.6.1 I'm quite a newbie with Sage but I'm really impressed this powerful software. Since an hour, I'm on a stupid problem: sage: sqrt(2)*sqrt(3) sqrt(2)*sqrt(3) sage: sqrt(2)*sqrt(3)-sqrt(6) sqrt(2)*sqrt(3)-sqrt(6) I would expect sqrt(6) and 0... I try with the command

[sage-support] simplify and sqrt

2011-01-25 Thread xlogo
Hello, Version: sage 4.6.1 I'm quite a newbie with Sage but I'm really impressed by this powerful software. Since an hour, I'm on a stupid problem: sage: sqrt(2)*sqrt(3) sqrt(2)*sqrt(3) sage: sqrt(2)*sqrt(3)-sqrt(6) sqrt(2)*sqrt(3)-sqrt(6) I would expect results sqrt(6) and 0... I try with the

[sage-support] keeping polynomials factored

2011-01-25 Thread Mike
If I type (x+1)^2 the output is (x+1)^2 If I type z=ComplexField(50)['z'].0; (z+1)^2 the output is z^2 + 2.0*z + 1.0 1) Why the difference (keeping it factored vs multiplying it out)? 2) I would like to be able to keep arbitrary-precision complex polynomials in their fact

[sage-support] Re: [sage-devel] simplify_full on matrices.

2011-01-25 Thread Simon King
Hi Joal, On 26 Jan., 08:06, ancienthart wrote: > My current path of research involves giving the Matrix class a __getattr__ > method with argument *missing_method*, that returns a callable object. The > callable object then returns the matrix result of .apply_map(lambda x: > getattr(x,*missing_me

Re: [sage-support] Re: [sage-devel] simplify_full on matrices.

2011-01-25 Thread ancienthart
My current path of research involves giving the Matrix class a __getattr__ method with argument *missing_method*, that returns a callable object. The callable object then returns the matrix result of .apply_map(lambda x: getattr(x,*missing_method*)) Still having some fun ironing out the wrinkle

[sage-support] Re: sage binaries

2011-01-25 Thread Jason Grout
On 1/25/11 7:12 PM, A. Jorge Garcia wrote: From: Robert Bradshaw On Tue, Jan 25, 2011 at 4:17 PM, calcp...@aol.com wrote: Hello All! First of all, thanx for all the great work you do making SAGE such a great resource. My students and I love it! I've used online SAGE servers and SAGE l

Re: [sage-support] sage binaries

2011-01-25 Thread A. Jorge Garcia
From: Robert Bradshaw On Tue, Jan 25, 2011 at 4:17 PM, calcp...@aol.com wrote: Hello All! First of all, thanx for all the great work you do making SAGE such a great resource.  My students and I love it! I've used online SAGE servers and SAGE live Linux CDs over the years in class and at

Re: [sage-support] sage binaries

2011-01-25 Thread Robert Bradshaw
On Tue, Jan 25, 2011 at 4:17 PM, calcp...@aol.com wrote: > Hello All! > > First of all, thanx for all the great work you do making SAGE such a > great resource.  My students and I love it! > > I've used online SAGE servers and SAGE live Linux CDs over the years > in class and at conferences.  I re

[sage-support] sage binaries

2011-01-25 Thread calcp...@aol.com
Hello All! First of all, thanx for all the great work you do making SAGE such a great resource. My students and I love it! I've used online SAGE servers and SAGE live Linux CDs over the years in class and at conferences. I recently started using the 32bit SAGE binary for Ubuntu 10.04 Desktop an

Re: [sage-support] Re: basic import question

2011-01-25 Thread Burcin Erocal
On Tue, 25 Jan 2011 10:29:38 -0600 Ryan Krauss wrote: > Would it be possible to check for a user defined environment variable > (say SAGE_PYTHOPATH) and append it to PYTHONPATH in sage-env if it is > defined (I have never really bothered to learn bash programming). The SAGE_PATH variable is used

[sage-support] Solution: How to get Apple (Aqua) interface instead of X11 for Tk calls on Mac OS X.

2011-01-25 Thread LouP
If you're getting X11 windows and dialogs instead of Apple's Aqua interface, you probably have non-Apple Tcl and Tk Frameworks installed. To solve the problem you can just remove the non-Apple Tcl & Tk frameworks and reinstall SAGE. SAGE will pick up the Apple Tcl & Tk frameworks and thereafter u

[sage-support] Re: Problem: X11 dialogs and plots are used instead of Native Mac OS X GUI items

2011-01-25 Thread LouP
> I'd ask on the (Mac)Python lists to see if anyone knows how to compile > Python to get the native tk dialogs instead of X11. > > - Robert I did that, Robert, and I've posted the solution in a separate thread on this support group. Thanks for your help. I give you credit in my post. -- Lou Pe

[sage-support] Re: Fourier–Motzkin elimination

2011-01-25 Thread kcrisman
tvn wrote: > I am not familiar with Maxima at all so even it has the FM method, > how likely will it be available in Sage ?There are several All of Maxima is in Sage. So you could use Maxima directly, through sage: maxima_console() or you could send Maxima commands in Sage but have them co

Re: [sage-support] Re: basic import question

2011-01-25 Thread Ryan Krauss
Thanks. That makes sense for installing third party packages. But it seems like my hack is the only way to use my own packages (which are continually under development and I don't install them). Would it be possible to check for a user defined environment variable (say SAGE_PYTHOPATH) and appen

[sage-support] Re: basic import question

2011-01-25 Thread Simon King
Hi Ryan, On 25 Jan., 13:25, Ryan Krauss wrote: > So, is there a supported way for the user to append paths to the > PYTHONPATH in the Sage installation (sage-env)? AFAIK, it is not supported to work with your system-wide Python from within Sage. Hence, the supported way of using a Python packag

[sage-support] Re: Fourier–Motzkin elimination

2011-01-25 Thread kcrisman
On Jan 25, 12:16 am, Robert Dodier wrote: > On Jan 23, 11:47 pm, tvn wrote: > > > hi,  just wondering if the Fourier-Motzkin algorithm for eliminating > > variable from a system of linear inequalities is implemented somewhere in > > Sage ? > > Well, Maxima has the function fourier_elim. I don't

Re: [sage-support] Re: basic import question

2011-01-25 Thread Ryan Krauss
So, is there a supported way for the user to append paths to the PYTHONPATH in the Sage installation (sage-env)? On Tue, Jan 25, 2011 at 1:20 AM, Minh Nguyen wrote: > Hi Ryan, > > On Tue, Jan 25, 2011 at 3:10 PM, Ryan Krauss wrote: >> but I am assuming there has to be a better way. > > When you