[sage-support] Re: no sage.bin

2008-03-27 Thread mabshoff
On Mar 28, 5:04 am, "William Stein" <[EMAIL PROTECTED]> wrote: > On Thu, Mar 27, 2008 at 8:36 PM, toothpaste <[EMAIL PROTECTED]> wrote: > > >  Please find below links to the install.log and the output of uname -a > > >  http://syntaxthug.syntaxpolice.org/~ralf/install.log > >  http://syntaxthug.

[sage-support] Re: Mysterious problem.

2008-03-27 Thread mabshoff
On Mar 27, 4:55 pm, Michel <[EMAIL PROTECTED]> wrote: > Hi Michael, Hi Michael, > I feel embarrassed causing so much trouble While answering your > email I finally solved the problem > (which was my fault of course). I turned out that I had a stray libstdc > ++.so.6 in my home directory whic

[sage-support] Re: no sage.bin

2008-03-27 Thread William Stein
On Thu, Mar 27, 2008 at 8:36 PM, toothpaste <[EMAIL PROTECTED]> wrote: > > Please find below links to the install.log and the output of uname -a > > http://syntaxthug.syntaxpolice.org/~ralf/install.log > http://syntaxthug.syntaxpolice.org/~ralf/uname.txt > > I think that I have enough room for

[sage-support] Re: random questions

2008-03-27 Thread Mike Hansen
Hello, > 1. The solve wrapper of maxima does some nice stuff symbolically, but > of course it can't handle everything, like > > sage: solve(x^5-x-12,x) > [0 == x^5 - x - 12] > > which makes sense! But I poked around a little for a numerical > approximation of solutions command and didn't

[sage-support] Re: no sage.bin

2008-03-27 Thread toothpaste
Please find below links to the install.log and the output of uname -a http://syntaxthug.syntaxpolice.org/~ralf/install.log http://syntaxthug.syntaxpolice.org/~ralf/uname.txt I think that I have enough room for an install. The first install failed for lack of space and then I wrote to the host a

[sage-support] random questions

2008-03-27 Thread kcrisman
These are curiosity questions. Hope someone knows, but perhaps some are just buried a little deeper in the documentation than I thought. 1. The solve wrapper of maxima does some nice stuff symbolically, but of course it can't handle everything, like sage: solve(x^5-x-12,x) [0 == x^5 - x - 12]

[sage-support] Re: Resultants of real polynomials

2008-03-27 Thread Carl Witty
On Mar 23, 2:15 pm, shreevatsa <[EMAIL PROTECTED]> wrote: > Hello, > > If I try to compute the resultant of two polynomials in RR['x','y'], > it fails with a NotImplemented error. Like: > > R. = RR[] > p = x + y > q = x*y > p.resultant(q) > > It works when I use QQ[] instead. I don't know how resu

[sage-support] Re: Published worksheets, Internal Server Error

2008-03-27 Thread William Stein
On Wed, Mar 26, 2008 at 12:45 PM, dean moore <[EMAIL PROTECTED]> wrote: > The published worksheets have given an "Internal Server Error" for some time > now. > > Dean FYI, this is now fixed. I couldn't get to it until now, since I was "off the grid". -- William --~--~-~--~~--

[sage-support] Re: quaternions

2008-03-27 Thread Justin C. Walker
On Mar 27, 2008, at 18:04 , Chris Godsil wrote: > > Just for reference, two comments on the documentation for quaternions: > > If x is an element of L as below, then neither x? nor x?? returns any > information about methods that apply to x. Tthe '?' and '??' operators only handle defined method

[sage-support] Re: quaternions

2008-03-27 Thread Chris Godsil
Just for reference, two comments on the documentation for quaternions: If x is an element of L as below, then neither x? nor x?? returns any information about methods that apply to x. Second, in the documentation on quaternions in the reference manual, there is no reference that I could find to

[sage-support] Re: quaternions

2008-03-27 Thread John Cremona
Although Justin's solution certainly works, one might consider adding a "real_part()" function to the quaternion class. But it would not do to call the function "real_part" since of course it depends on the ground field (which in the example is QQ and not RR). I am CC'ing sage-devel since this m

[sage-support] Re: quaternions

2008-03-27 Thread Justin Walker
On Mar 27, 2008, at 12:58 PM, Chris Godsil wrote: > > I want to extract the "real part" of a quaternion, i.e., if > > L. = QuaternionAlgebra(QQ,-1,-1); > > and a is in L, then I want the coefficient of 1 in the expansion of as > a linear combination of 1, i, j and k. > > Is there a way to do thi

[sage-support] quaternions

2008-03-27 Thread Chris Godsil
I want to extract the "real part" of a quaternion, i.e., if L. = QuaternionAlgebra(QQ,-1,-1); and a is in L, then I want the coefficient of 1 in the expansion of as a linear combination of 1, i, j and k. Is there a way to do this? A graceful way? (I have also discovered that using quaternio

[sage-support] Re: using optional packages

2008-03-27 Thread Becky
Thanks for the quick reply. I tried the command sage: install_package("gap_packages-4.4.10_4") After listing many files that it was installing, I got the following error message: sage: An error occurred while installing gap_packages-4.4.10_4 Please email sage-devel http://groups.google.com/gro

[sage-support] Re: Mysterious problem.

2008-03-27 Thread Michel
Hi Michael, I feel embarrassed causing so much trouble While answering your email I finally solved the problem (which was my fault of course). I turned out that I had a stray libstdc ++.so.6 in my home directory which somehow Singular picked up (don't know why). The reason why I had this str

[sage-support] Re: modular forms bug(s)?

2008-03-27 Thread John Cremona
Just one comment: a simple-minded user might say that evaluating sum(b) where b has at least one entry need not actually require any coercion of 0, since it only needs to do b[0]+b[1]+... . I know that is not how sum() is defined, but it could be -- expect that sum() is pure python. John On Ma

[sage-support] Re: Mysterious problem.

2008-03-27 Thread mabshoff
On Mar 27, 7:03 am, Michel <[EMAIL PROTECTED]> wrote: > "which sage" gives /usr/bin/sage which is the usual script which sets > SAGE_ROOT (/usr/local/share/sage-2.10.4 in this case) and > calls /usr/local/share/sage-2.10.4/local/bin/sage-sage. > > Things like >  env SAGE_ROOT=/usr/local/share/sa