[sage-support] Re: Error when launching Sage

2008-11-27 Thread mabshoff
On Nov 27, 11:40 pm, mabshoff <[EMAIL PROTECTED] dortmund.de> wrote: > On Nov 27, 11:30 pm, Jeffrey Straszheim <[EMAIL PROTECTED]> > wrote: > > Hi Jeffrey, > > > I've just downloaded and launched Sage on an Ubuntu 8.10 box.  I > > unzipped the file and ran ./sage and got this: > > >   WARNING!  

[sage-support] Re: Error when launching Sage

2008-11-27 Thread Robert Bradshaw
On Nov 27, 2008, at 11:30 PM, Jeffrey Straszheim wrote: > I've just downloaded and launched Sage on an Ubuntu 8.10 box. I > unzipped the file and ran ./sage and got this: > > WARNING! This Sage install was built on a machine that supports > instructions that are not available on this comput

[sage-support] Re: Error when launching Sage

2008-11-27 Thread mabshoff
On Nov 27, 11:30 pm, Jeffrey Straszheim <[EMAIL PROTECTED]> wrote: Hi Jeffrey, > I've just downloaded and launched Sage on an Ubuntu 8.10 box.  I > unzipped the file and ran ./sage and got this: > >   WARNING!  This Sage install was built on a machine that supports >   instructions that are not

[sage-support] Re: symbolic lists

2008-11-27 Thread Tim Lahey
On Nov 28, 2008, at 1:45 AM, hbetx9 wrote: > > Hi Sage Community, > > After reviewing this oustanding piece of software, I would like to > utilize it to solve some problems I've been working on. However I have > one question that the documentation has not provided a solution for. > Is there a w

[sage-support] Re: symbolic lists

2008-11-27 Thread Mike Hansen
Hi Lance, On Thu, Nov 27, 2008 at 10:45 PM, hbetx9 <[EMAIL PROTECTED]> wrote: > After reviewing this oustanding piece of software, I would like to > utilize it to solve some problems I've been working on. However I have > one question that the documentation has not provided a solution for. > Is

[sage-support] symbolic lists

2008-11-27 Thread hbetx9
Hi Sage Community, After reviewing this oustanding piece of software, I would like to utilize it to solve some problems I've been working on. However I have one question that the documentation has not provided a solution for. Is there a way have symbolic lists or lists of symbolic variables? O

[sage-support] Error when launching Sage

2008-11-27 Thread Jeffrey Straszheim
I've just downloaded and launched Sage on an Ubuntu 8.10 box. I unzipped the file and ran ./sage and got this: WARNING! This Sage install was built on a machine that supports instructions that are not available on this computer. Sage will likely fail with ILLEGAL INSTRUCTION errors! The

[sage-support] Re: number field question

2008-11-27 Thread William Stein
On Thu, Nov 27, 2008 at 6:23 PM, Alex Raichev <[EMAIL PROTECTED]> wrote: > > Hi all: > > I have a list c of elements of QQbar and want to form the field > generated by QQ and the elements of c. What's the easiest way to do > this? > I looked through section 29.1 Number Fields of the Sage refe

[sage-support] number field question

2008-11-27 Thread Alex Raichev
Hi all: I have a list c of elements of QQbar and want to form the field generated by QQ and the elements of c. What's the easiest way to do this? I looked through section 29.1 Number Fields of the Sage reference manual, but couldn't find a simple solution using the functions mentioned there

[sage-support] Re: variety() bug?

2008-11-27 Thread mabshoff
On Nov 27, 4:28 pm, Alex Raichev <[EMAIL PROTECTED]> wrote: > Here's an even simpler and more disturbing error with variety().  Is > this just my installation? > > Alex > TypeError: Singular error: >    ? error occurred in STDIN line 23: `module sage4=w,;` >    ? expected module-expression. t

[sage-support] Re: make fails for sage3.2 (and 3.1.3/3.1.4)

2008-11-27 Thread mabshoff
On Nov 27, 2:08 pm, abe <[EMAIL PROTECTED]> wrote: > the spkg available here (http://trac.sagemath.org/sage_trac/ticket/4176 > ) > fixed it for me (SL4.2) > > thanks a lot. > > -E Excellent. I will push this and two other small fixes to the upstream matplotlib people. Cheers, Michael --~--~--

[sage-support] Re: variety() bug?

2008-11-27 Thread mabshoff
On Nov 27, 4:28 pm, Alex Raichev <[EMAIL PROTECTED]> wrote: > Here's an even simpler and more disturbing error with variety().  Is > this just my installation? Nope, I can also hit it. I have added the info to the ticket. Simon: Any news from Hans yet? Cheers, Michael --~--~-~--~

[sage-support] Re: variety() bug?

2008-11-27 Thread Alex Raichev
Here's an even simpler and more disturbing error with variety(). Is this just my installation? Alex -- | Sage Version 3.2, Release Date: 2008-11-20 | | Type notebook() for the GUI, and license() for info

[sage-support] Re: make fails for sage3.2 (and 3.1.3/3.1.4)

2008-11-27 Thread abe
the spkg available here ( http://trac.sagemath.org/sage_trac/ticket/4176 ) fixed it for me (SL4.2) thanks a lot. -E On Nov 21, 8:59 pm, mabshoff <[EMAIL PROTECTED] dortmund.de> wrote: > > > > I have seen this before and we are tracking the issue > > > http://trac.sagemath.org/sage_trac/ticket/

[sage-support] Re: timeit in doc tests / Ellipsis

2008-11-27 Thread Simon King
Dear Michael, On Nov 27, 8:55 pm, mabshoff <[EMAIL PROTECTED] dortmund.de> wrote: > Interesting trick. But with Sage 3.2 or higher you can actually get > the performance data back from timeit - > seehttp://groups.google.com/group/sage-devel/browse_thread/thread/b91c51... > about the Integral tes

[sage-support] Re: timeit in doc tests / Ellipsis

2008-11-27 Thread mabshoff
On Nov 27, 11:38 am, Simon King <[EMAIL PROTECTED]> wrote: > Dear Michael, Hi Simon, > On Nov 27, 8:26 pm, mabshoff <[EMAIL PROTECTED] > > dortmund.de> wrote: > > Yes. > > Finally I understood something. By the way, it seems to me that this > detail is not described in the documentation (of Sa

[sage-support] Re: timeit in doc tests / Ellipsis

2008-11-27 Thread Simon King
Dear Michael, On Nov 27, 8:26 pm, mabshoff <[EMAIL PROTECTED] dortmund.de> wrote: > Yes. Finally I understood something. By the way, it seems to me that this detail is not described in the documentation (of Sage :) > > What can I do to change it? > > You doctesting example. Sniff :( But a min

[sage-support] Re: timeit in doc tests / Ellipsis

2008-11-27 Thread mabshoff
On Nov 27, 11:22 am, Simon King <[EMAIL PROTECTED]> wrote: > Dear William, > > I think I finally see where my problem comes from: Is it true that a > line starting with '... ' is considered as a Sage prompt, respectively > as a continuation of the preceding line? Yes. > Hence, apparently the

[sage-support] Re: timeit in doc tests / Ellipsis

2008-11-27 Thread Simon King
Dear William, I think I finally see where my problem comes from: Is it true that a line starting with '... ' is considered as a Sage prompt, respectively as a continuation of the preceding line? I think so, because of the following. In a file foobar.py, I put def f(x): r""" test EXAMPLES:

[sage-support] Re: timeit in doc tests / Ellipsis

2008-11-27 Thread Simon King
Dear William, On Nov 27, 5:28 pm, "William Stein" <[EMAIL PROTECTED]> wrote: > Just out of curiosity, what do you mean by "the documentation"? The Sage documentation. > There is documentation about Python's doctest system here: > > http://www.python.org/doc/2.5.2/lib/module-doctest.html I had

[sage-support] Re: definition of a function with the help of its derivative

2008-11-27 Thread Simon King
Dear David, On Nov 27, 5:16 pm, "David Joyner" <[EMAIL PROTECTED]> wrote: > Do you mean something like in the > tutorialhttp://www.sagemath.org/doc/tut/node14.html > or do you want something different? Looking at the original post, probably Pieter wants to manipulate y1 (t), y2(t) without to so

[sage-support] Re: timeit in doc tests / Ellipsis

2008-11-27 Thread William Stein
On Thu, Nov 27, 2008 at 4:00 AM, Simon King <[EMAIL PROTECTED]> wrote: > > Another related question: > Suppose that the output contains three dots (...). How can I make > clear that these three dots are *not* an ellipsis but that I do > expect ... in the output? > > I tried to find something about

[sage-support] Re: definition of a function with the help of its derivative

2008-11-27 Thread David Joyner
Do you mean something like in the tutorial http://www.sagemath.org/doc/tut/node14.html or do you want something different? On Thu, Nov 27, 2008 at 5:02 AM, pieter <[EMAIL PROTECTED]> wrote: > > Dear Sage users, > > Is it possible in Sage to define a function with the help of its > derivative? >

[sage-support] Re: notebook password

2008-11-27 Thread William Stein
On Thu, Nov 27, 2008 at 7:43 AM, Bob Wonderly <[EMAIL PROTECTED]> wrote: > > I use Sage via the notebook() feature. "As advertised" it opens the > notebooks in my default browser. > > But I want to use a non-default browser so sent it to the link > per instructions. > > It

[sage-support] notebook password

2008-11-27 Thread Bob Wonderly
I use Sage via the notebook() feature. "As advertised" it opens the notebooks in my default browser. But I want to use a non-default browser so sent it to the link per instructions. It won't let me open any one of my notebooks without a password. But I did not ever se

[sage-support] Re: jsmath directory confusion.

2008-11-27 Thread Jason Grout
Gary Church wrote: > Hello all, > > I've noticed that sage has two separate, but somewhat unequal, jsmath > subdirectories. > > One is rooted at: sage/data/extcode/javascript/ > The other is at: sage/data/extcode/notebook/javascript/ > > Why two jsmath directories and if I want to upgrade the

[sage-support] prevent complex numbers ?

2008-11-27 Thread [EMAIL PROTECTED]
Hello, the example below shows that a complex number ( i think the "I" stands for it ? ) appears by doing a simplify_full. Is there a way to prevent this and to get output in real number format? sage: var('omgo zr ys cz') sage: eqomgo = omgo == (sqrt(2*ys - 2*cz)*sqrt(2*zr - 2*cz))/(2*zr - 2*cz)

[sage-support] definition of a function with the help of its derivative

2008-11-27 Thread pieter
Dear Sage users, Is it possible in Sage to define a function with the help of its derivative? Example: Given the system of linear differential equations dy1(t)/dt = a(t)y1(t) + b(t)y2(t) dy2(t)/dt = c(t)y1(t) + d(t)y2(t), where a, b, c, d are known functions of t. In Ma

[sage-support] Re: timeit in doc tests / Ellipsis

2008-11-27 Thread Simon King
Another related question: Suppose that the output contains three dots (...). How can I make clear that these three dots are *not* an ellipsis but that I do expect ... in the output? I tried to find something about Ellipsis in the documentation, but it doesn't seem to be there. Or is it? Best reg

[sage-support] timeit in doc tests / Ellipsis

2008-11-27 Thread Simon King
Hi all, I would like to put a timing into a doc string -- of course the timings will depend on the run, so the figures can not be relevant to the doc test, but it shall indicate to the user that it might be interesting to do such timing. So, in the doc string I wrote sage: timeit('cX = R.lif