[sage-support] Re: init.sage and sage -c

2008-06-10 Thread William Stein
On Sun, Jun 8, 2008 at 4:56 PM, kwatford [EMAIL PROTECTED] wrote: I have defined a function that starts up the notebook server with my desired preferences and placed the function definition into my init.sage script, so that whenever I use the command line, I don't have to remember the whole

[sage-support] Re: Li(x) in the complex domain

2008-06-10 Thread M. Yurko
After a little more searching, it appears that I should use a Pseudo tty( right?). However, the programming guide gives no information on how to actually do this. Any help would be greatly appreciated (copying and pasting input and output is less than ideal). On Jun 10, 10:15 am, M. Yurko [EMAIL

[sage-support] Re: error compiling sage: pari and libgmp mismatch - fixed

2008-06-10 Thread lciti
Hi Michael, thank you for your reply. I think it is something related to gmp. It is the only one that falls in this error. After the fix it gets configured for a x86_64 machine and not for a core duo (and as you said it is probably suboptimal) but at least not as a generic i386, that would be

[sage-support] notebook shows up as blank in firefox

2008-06-10 Thread Stan Schymanski
Dear all, When I try to display some of the documentation notebooks, they turn out partly or wholly blank in Firefox, especially the long ones (e.g. 5.1 2d plotting). They work fine in Safari, so perhaps this is more a Firefox or Mac issue than a SAGE problem, but perhaps someone experienced

[sage-support] How do I create a Matrices Set

2008-06-10 Thread cesarnda
I want to create a matrices set but I get the following error if I use the Set command: sage: setMat = Set(m) --- TypeError Traceback (most recent call last) /home/cesarnda/ipython console in

[sage-support] Re: How do I create a Matrices Set

2008-06-10 Thread William Stein
On Tue, Jun 10, 2008 at 9:31 AM, cesarnda [EMAIL PROTECTED] wrote: I want to create a matrices set but I get the following error if I use the Set command: sage: setMat = Set(m) --- TypeError

[sage-support] Re: assignments and functions

2008-06-10 Thread Stan Schymanski
Dear all I have been using the .subs(locals()) functionality extensively, but now I found out that this does not work for piecewise defined functions. Example: sage: var('x a b') (x, a, b) sage: f1=a*sin(x) sage: f2=b*sin(x) sage: f = Piecewise([[(0,pi/2),f1],[(pi/2,pi),f2]]) sage: a=1 sage:

[sage-support] Re: Sage + Eclipse + PyDev

2008-06-10 Thread mabshoff
On Jun 10, 9:49 am, Emerson [EMAIL PROTECTED] wrote: Hello everyone. Hi Emerson, I'm trying to set up sage to work with pydev on Eclipse. So far, I've managed to set the interpreter properly (it does seem to work properly). The problem is that when I try to do this... from sage.all

[sage-support] Re: error compiling sage: pari and libgmp mismatch - fixed

2008-06-10 Thread mabshoff
On Jun 10, 7:55 am, lciti [EMAIL PROTECTED] wrote: Hi Michael, Hi Luca, thank you for your reply. No problem. I think it is something related to gmp. It is the only one that falls in this error. After the fix it gets configured for a x86_64 machine and not for a core duo (and as you

[sage-support] Re: simplifying exponents

2008-06-10 Thread mabshoff
On Jun 10, 10:44 am, polo0691 [EMAIL PROTECTED] wrote: Hi, Thanks for creating sage! I can really see how useful sage could be for engineering purposes. I've been playing around with sage for a couple of days and I have had trouble with the following:   1) simplifying equations with

[sage-support] Re: simplifying exponents

2008-06-10 Thread Carl Witty
On Jun 10, 10:44 am, polo0691 [EMAIL PROTECTED] wrote: Thanks for creating sage! I can really see how useful sage could be for engineering purposes. I've been playing around with sage for a couple of days and I have had trouble with the following:   1) simplifying equations with exponents:

[sage-support] Re: Displaying plot in frames

2008-06-10 Thread Carl Witty
On Jun 10, 11:28 am, Emerson [EMAIL PROTECTED] wrote: Hello everyone. I'm just wondering if there's a way of showing a SAGE plot in a window when running a code on the script (i.e., a python script ran with the sage environment from the command line). To make it more clear, I have the code

[sage-support] Re: BLAS routines required by linbox are not installed

2008-06-10 Thread eduardo
ok, I'm on the list...sorry... I just make copy-paste of what i wrote you: let me see : m4, lbstdc++6, gcc (apt-get says that there's no 4.2 version of gcc available so I have de 4.1) and g++. For the others I had already the latest version. cheers Eduardo On Jun 4, 5:23 pm,

[sage-support] Re: simplifying exponents

2008-06-10 Thread Jonathan Bober
On Tue, 2008-06-10 at 12:56 -0700, Carl Witty wrote: On Jun 10, 10:44 am, polo0691 [EMAIL PROTECTED] wrote: Thanks for creating sage! I can really see how useful sage could be for engineering purposes. I've been playing around with sage for a couple of days and I have had trouble with the

[sage-support] Re: simplifying exponents

2008-06-10 Thread polo0691
Thanks for the reply. In the cases when those variables are real (or tell Sage they are real), could you force Sage or the underlying tool to simplify the equation? On Jun 10, 2:56 pm, Carl Witty [EMAIL PROTECTED] wrote: On Jun 10, 10:44 am, polo0691 [EMAIL PROTECTED] wrote: Thanks for

[sage-support] Re: error compiling sage: pari and libgmp mismatch - fixed

2008-06-10 Thread mabshoff
Hi Luca, the problem you are having is discussed at http://groups.google.com/group/mpir-devel/t/c31f89ed1683d383 You might want to come over and give some feedback since it cuts mw out of the loop and will hopefully result in a quicker resolution. Cheers, Michael

[sage-support] Re: Li(x) in the complex domain

2008-06-10 Thread Robert Bradshaw
Just for a start, try looking in sage/interfaces for several examples. You could also try wrapping it in Cython (though this is sometimes a bit harder with C++ than with C). - Robert On Jun 10, 2008, at 7:35 AM, M. Yurko wrote: After a little more searching, it appears that I should use a

[sage-support] Re: assignments and functions

2008-06-10 Thread Robert Bradshaw
On Jun 10, 2008, at 10:58 AM, Stan Schymanski wrote: Dear all I have been using the .subs(locals()) functionality extensively, but now I found out that this does not work for piecewise defined functions. Example: sage: var('x a b') (x, a, b) sage: f1=a*sin(x) sage: f2=b*sin(x)

[sage-support] Re: error compiling sage: pari and libgmp mismatch - fixed

2008-06-10 Thread lciti
Hi, I'll answer your questions in the thread you suggested. --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at

[sage-support] Re: Li(x) in the complex domain

2008-06-10 Thread William Stein
On Tue, Jun 10, 2008 at 3:49 PM, Robert Bradshaw [EMAIL PROTECTED] wrote: Just for a start, try looking in sage/interfaces for several examples. You could also try wrapping it in Cython (though this is sometimes a bit harder with C++ than with C). I don't think there is any command line

[sage-support] Re: print or view depending on context (was Re: python (?) help: equivalent of lisp's let)

2008-06-10 Thread William Stein
On Wed, May 28, 2008 at 2:03 PM, John H Palmieri [EMAIL PROTECTED] wrote: In some code, I'd like to view or print an object depending on whether in notebook mode with the typeset box checked or not. Is this a good way to do it? from sage.misc.misc import embedded

[sage-support] Re: Li(x) in the complex domain

2008-06-10 Thread William Stein
On Tue, Jun 10, 2008 at 7:50 PM, M. Yurko [EMAIL PROTECTED] wrote: Thanks again to everyone who tried to assist me. I was able to use the incomplete gamma function already in sage to compute Li(x) for complex inputs. For the speed that I need this works fine. However, this should be impetus

[sage-support] Re: print or view depending on context (was Re: python (?) help: equivalent of lisp's let)

2008-06-10 Thread John H Palmieri
On Jun 10, 7:12 pm, William Stein [EMAIL PROTECTED] wrote: On Wed, May 28, 2008 at 2:03 PM, John H Palmieri [EMAIL PROTECTED] wrote: In some code, I'd like to view or print an object depending on whether in notebook mode with the typeset box checked or not.  Is this a good way to do it?

[sage-support] Re: print or view depending on context (was Re: python (?) help: equivalent of lisp's let)

2008-06-10 Thread William Stein
On Tue, Jun 10, 2008 at 9:35 PM, John H Palmieri [EMAIL PROTECTED] wrote: On Jun 10, 7:12 pm, William Stein [EMAIL PROTECTED] wrote: On Wed, May 28, 2008 at 2:03 PM, John H Palmieri [EMAIL PROTECTED] wrote: In some code, I'd like to view or print an object depending on whether in

[sage-support] Re: assignments and functions

2008-06-10 Thread Stan Schymanski
Thanks for that! I can do it using the python function now. I think it would be very useful to have a command to replace symbolic variables by pre-defined values or terms whenever they are called. The .subs(locals()) functionality helps a lot with this respect. I am not registered for the TRAC