[sage-support] Re: sage 2.8.2 finding /usr/lib

2007-08-27 Thread Green Kobold
unfortunatelly i solved this using sage2.5 for now. i was called for a presentation tomorrow.and had to get things running in a new laptop today. For the Pyaudiolab, you found it right, William, http://www.ar.media.kyoto-u.ac.jp/members/david/softwares/pyaudiolab/ well, Pyaudiolab is a little mo

[sage-support] Re: Sage won't start maxima

2007-08-27 Thread mabshoff
On Aug 28, 1:20 am, gsage <[EMAIL PROTECTED]> wrote: > > Can you do a "pwd" in $SAGE_ROOT and post the output here. Please also > > try moving $SAGE_ROOT to /tmp and try again. > > moved folder "sage-2.8.2" to /tmp and did a pwd: > > > pwd > > > /tmp/sage-2.8.2 > > running sage in tmp produces

[sage-support] Re: Sage won't start maxima

2007-08-27 Thread gsage
> Can you do a "pwd" in $SAGE_ROOT and post the output here. Please also > try moving $SAGE_ROOT to /tmp and try again. moved folder "sage-2.8.2" to /tmp and did a pwd: pwd /tmp/sage-2.8.2 running sage in tmp produces same error messages. I'll look further in the "non-utf chars" faq stuff.

[sage-support] Re: Sage won't start maxima

2007-08-27 Thread mabshoff
On Aug 27, 11:34 pm, gsage <[EMAIL PROTECTED]> wrote: > > (1) Does the file SAGE_ROOT/local/bin/sage-maxima.lisp exist? > > yes > > > (2) What happens if you do: > >sage: !maxima -p "$SAGE_ROOT/local/bin/sage-maxima.lisp" > > sage: !maxima -p "$SAGE_ROOT/local/bin/sage-maxima.lisp" > > *** -

[sage-support] Re: Sage won't start maxima

2007-08-27 Thread William Stein
On 8/27/07, gsage <[EMAIL PROTECTED]> wrote: > > > > > (1) Does the file SAGE_ROOT/local/bin/sage-maxima.lisp exist? > yes > > > (2) What happens if you do: > >sage: !maxima -p "$SAGE_ROOT/local/bin/sage-maxima.lisp" > > > sage: !maxima -p "$SAGE_ROOT/local/bin/sage-maxima.lisp" > > *** - inva

[sage-support] Re: Sage won't start maxima

2007-08-27 Thread gsage
> (1) Does the file SAGE_ROOT/local/bin/sage-maxima.lisp exist? yes > (2) What happens if you do: >sage: !maxima -p "$SAGE_ROOT/local/bin/sage-maxima.lisp" sage: !maxima -p "$SAGE_ROOT/local/bin/sage-maxima.lisp" *** - invalid byte sequence #xC0 #x01 in CHARSET:UTF-8 conversion The follo

[sage-support] Re: Symbolic functions

2007-08-27 Thread Justin C. Walker
On Aug 27, 2007, at 6:29 PM, William Stein wrote: > On 8/27/07, Justin Walker <[EMAIL PROTECTED]> wrote: >> >> Hi, all, >> >> I want to create a "function" within a function, and return it as >> the value of the latter function, something along the lines of: >> >> def g(a,b,c): >> var('x y'

[sage-support] Re: Coercion

2007-08-27 Thread Justin Walker
On Monday, August 27, 2007, at 06:37PM, "William Stein" <[EMAIL PROTECTED]> wrote: >On 8/27/07, Justin Walker <[EMAIL PROTECTED]> wrote: >> Hi, all, >> >> I do this, and get integers, but the types are rational: >> >> sage: b1=0 >> sage: b2=2 >> sage: s=(b1+b2)/2 >> sage: n=(b1-b2)/2 >> sage:

[sage-support] Re: notebook for students

2007-08-27 Thread William Stein
On 8/26/07, Peter <[EMAIL PROTECTED]> wrote: > > It is not (or rather -- definitely should not) be necessary to have apache > > or apache-ssl installed in order to use the notebook. What problem > > occurred? > > If you do > >sage: notebook(open_viewer=False) > > it should work irregardless

[sage-support] Re: Sage won't start maxima

2007-08-27 Thread William Stein
On 8/27/07, gsage <[EMAIL PROTECTED]> wrote: > > I d/l the source and it compiled fine. However, Sage could not start > maxima. > (1) Does the file SAGE_ROOT/local/bin/sage-maxima.lisp exist? (2) What happens if you do: sage: !maxima -p "$SAGE_ROOT/local/bin/sage-maxima.lisp" Does this happen

[sage-support] Re: Coercion

2007-08-27 Thread William Stein
On 8/27/07, Justin Walker <[EMAIL PROTECTED]> wrote: > Hi, all, > > I do this, and get integers, but the types are rational: > > sage: b1=0 > sage: b2=2 > sage: s=(b1+b2)/2 > sage: n=(b1-b2)/2 > sage: s > 1 > sage: n > -1 That s and n are rational is correct, since "/ is a constructor for elements

[sage-support] Re: Symbolic functions

2007-08-27 Thread William Stein
This is what you really want to do (use a *callable* symbolic expression): sage: def g(a,b,c): f(x,y) = a*x^2 + b*y + c return f : sage: h = g(1,2,3) sage: h (x, y) |--> 2*y + x^2 + 3 sage: h(2,3) 13 On 8/27/07, Justin Walker <[EMAIL PROTECTED]> wrote: > > Hi, all, > > I want to creat

[sage-support] Symbolic functions

2007-08-27 Thread Justin Walker
Hi, all, I want to create a "function" within a function, and return it as the value of the latter function, something along the lines of: def g(a,b,c): var('x y') f = a*x^2 + b*y + c return f This works, almost. I have to invoke the return value as a function returning a functio

[sage-support] Coercion

2007-08-27 Thread Justin Walker
Hi, all, I do this, and get integers, but the types are rational: sage: b1=0 sage: b2=2 sage: s=(b1+b2)/2 sage: n=(b1-b2)/2 sage: s 1 sage: n -1 Then I do this: sage: xgcd(s,n) --- Traceback (most recent call last)

[sage-support] Re: installation problem

2007-08-27 Thread William Stein
On 8/27/07, John P. Burkett <[EMAIL PROTECTED]> wrote: ]> Working on a Dell 390n (x86_64 architecture) running Red Hat Enterprise > Linux version 4, I have been trying to install Sage from > sage-2.8.2-debian64-x86_64-Linux.tar.gz, following instructions in the > Installation Guide (release 2007.0

[sage-support] Re: sage 2.8.2 finding /usr/lib

2007-08-27 Thread William Stein
On 8/27/07, Green Kobold <[EMAIL PROTECTED]> wrote: > Hi Michel, > > New versions of SAGE are blind to /usr/lib Cant I set it different? > My understanding is that: (1) SAGE just contains a Python interpreter that is like any other Python 2.5.1 interpreter. (2) The current ver

[sage-support] Re: sage 2.8.2 finding /usr/lib

2007-08-27 Thread Green Kobold
Hi Michel, New versions of SAGE are blind to /usr/lib Cant I set it different? Thanks again, gk On 8/27/07, mabshoff <[EMAIL PROTECTED]> wrote: > > > > > Can anyone help me on this? > > thanks in advance, > > gk > > You can try to copy the relevant bits to $SAGE_ROOT/local/lib and > $SAGE_R

[sage-support] installation problem

2007-08-27 Thread John P. Burkett
Working on a Dell 390n (x86_64 architecture) running Red Hat Enterprise Linux version 4, I have been trying to install Sage from sage-2.8.2-debian64-x86_64-Linux.tar.gz, following instructions in the Installation Guide (release 2007.08.22). After doing tar zxvf sage-2.8.2-debian64-x86_64-Linux.ta

[sage-support] Re: Sage won't start maxima

2007-08-27 Thread gsage
I d/l the source and it compiled fine. However, Sage could not start maxima. Here's the error message from the command line: sage: sqrt(4) Timeout exceeded in read_nonblocking(). version: 2.0 ($Revision: 1.151 $) command: /home/myhome/Desktop/sage-2.8.2/local/bin/maxima args: ['/home/myhome/

[sage-support] Re: sage 2.8.2 finding /usr/lib

2007-08-27 Thread mabshoff
> Can anyone help me on this? > thanks in advance, > gk You can try to copy the relevant bits to $SAGE_ROOT/local/lib and $SAGE_ROOT/local/include. Cheers, Michael --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsu