[sage-support] Boolean ring works with .sage but not with .spyx extension

2014-03-19 Thread Prakash Dey
Consider this program (in Ubuntu 12.04 LTS) #!/usr/bin/sage from sage.all import * R.a,b,c=BooleanPolynomialRing() print (a+b+c)*(a+b) it runs perfectly when run as a .sage file and produces the output a*c + a + b*c +b but produces the following error when run with .spyx extension.

[sage-support] Boolean polynomial ring works with .sage but not with .spyx extension

2014-03-19 Thread Prakash Dey
Consider this program (in Ubuntu 12.04 LTS) #!/usr/bin/sage from sage.all import * R.a,b,c=BooleanPolynomialRing() print (a+b+c)*(a+b) it runs perfectly when run as a .sage file and produces the output a*c + a + b*c +b but produces the following error when run with .spyx extension.

Re: [sage-support] Boolean ring works with .sage but not with .spyx extension

2014-03-19 Thread John Cremona
The syntax R.a,b,c = ... uses the Sage preparser so my guess is that .pyx files are not preparsed. If you need this to be in a pyx file then here an alternative: R=BooleanPolynomialRing(3, 'abc') a, b, c = R.gens() print (a+b+c)*(a+b) a*c + a + b*c + b On 19 March 2014 13:30, Prakash Dey

Re: [sage-support] Re: Sagetex issues

2014-03-19 Thread Dan Drake
On Tue, 18 Mar 2014 at 01:52PM -0700, sder...@gmail.com wrote: It worked! So now I know what to do: point to the right sage exec in the sage app folder lol! There are 2 and my simlink was pointing to the wrong one. I'm glad to hear you have it working! I'd like to include some documentation

Re: [sage-support] Re: Sagetex issues

2014-03-19 Thread sdermon
OK so my command line in TeXMaker is /usr/local/bin/sage %.sagetex.sage I have made a simlink (sudo ln -s ...) from the sage exec in the Sage app folder : /Applications/Sage-6.1.1.app/Contents/Resources/sage/ and I placed it in my /usr/local/bin folder. The previous simlink was actually

[sage-support] Re: system of nonlinear equations

2014-03-19 Thread Urs Hackstein
2014-03-18 19:13 GMT+01:00, john_perry_usm john.pe...@usm.edu: It looks as if there are infinitely many solutions. If you clear the denominators, you get polynomials, with which you can compute a lexicographical Gröbner basis of 15 elements (given below). The dimension of the corresponding

[sage-support] extension de corps

2014-03-19 Thread ghammamloubna
Bonsoir SVP, j'ai besoin de definir sur Sage 3 extensions de corps, mais je n'arrive pas. Je peux definir que deux extensions. -- You received this message because you are subscribed to the Google Groups sage-support group. To unsubscribe from this group and stop receiving emails from it, send

[sage-support] Mac OSX install 10.8.5

2014-03-19 Thread Jon Hayenga
I'm a newbie to sage so this may be a dumb question. After install I'm getting the following log feedback when I try to run... -- Setting environment variables /Applications/Sage-6.1.1 2.app/Contents/Resources/start-sage.sh: line 43: spkg/bin/sage-env: No such file or directory

[sage-support] Simplify expression with hyperbolic functions

2014-03-19 Thread m sigar
How do I make SAGE recognize t=var('t', domain='real') log(cosh(t)+sinh(t)) as t -- You received this message because you are subscribed to the Google Groups sage-support group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: [sage-support] extension de corps

2014-03-19 Thread Christophe Bal
Hello, this is an english list. Christophe BAL French PS: il va falloir traduire en anglais votre question. 2014-03-19 21:26 GMT+01:00 ghammamlou...@gmail.com: Bonsoir SVP, j'ai besoin de definir sur Sage 3 extensions de corps, mais je n'arrive pas. Je peux definir que deux extensions.

Re: [sage-support] Mac OSX install 10.8.5

2014-03-19 Thread Ivan Andrus
On Mar 19, 2014, at 3:16 PM, Jon Hayenga jdub5...@gmail.com wrote: I'm a newbie to sage so this may be a dumb question. After install I'm getting the following log feedback when I try to run... -- Setting environment variables /Applications/Sage-6.1.1

Re: [sage-support] extension de corps

2014-03-19 Thread Anton Sherwood
On 2014-3-19 13:26, ghammamlou...@gmail.com wrote: Bonsoir SVP, j'ai besoin de definir sur Sage 3 extensions de corps, mais je n'arrive pas. Je peux definir que deux extensions. Good evening If you please, I need to define on Sage 3 extensions of body[?], but I do not succeed. I can define

Re: [sage-support] extension de corps

2014-03-19 Thread Christophe Bal
Indeed you are talking about field extensions and not about bubonic body extensions. This is just French humor. ;-) Le 20 mars 2014 01:13, Anton Sherwood bro...@pobox.com a écrit : On 2014-3-19 13:26, ghammamlou...@gmail.com wrote: Bonsoir SVP, j'ai besoin de definir sur Sage 3 extensions de