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.
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.
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
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
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
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
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
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
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
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.
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
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
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
13 matches
Mail list logo