Suppose I have a file --
test.sage
-
from sage.all import *
print sys.argv[1], sys.argv[2], sys.argv[3]
It could be run from bash terminal as-- $ test.sage 2 3 5
Here 2, 3, 5 are the three command line arguments and can be printed by:
My default browser is firefox
when i type *$ sage -notebook *it opens in firefox.
Is there a way to specify other browser like *chromium-browser*
--
You received this message because you are subscribed to the Google Groups
sage-support group.
To unsubscribe from this group and stop receiving
Thank You Very much.
Now I will be able to make a unity launcher for sage.
--
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
Hi, I am new to both cryptography and sage and I was trying
to write a sage code for the TRIVIUM cipher.
From http://eeweb.poly.edu/faculty/karri/stream_ciphers/trivium.html
i got the Test Vector and output
key = 0x
IV = 0x
stream =
Hi, I am new to both cryptography and sage and I was trying
to write a sage code for the TRIVIUM cipher.
From http://eeweb.poly.edu/faculty/karri/stream_ciphers/trivium.html
i got the Test Vector and output
key = 0x
IV = 0x
stream =
can someone post a sage implementation of TRIVIUM
--
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 sage-support+unsubscr...@googlegroups.com.
To post to this
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.
Hii All,
I am facing the following problem--
The following works fine in sage terminal
sage: R.a,b,c=BooleanPolynomialRing(3)
sage: (a+b+c)*(a+b)
a*c + a + b*c + b
but when i want to run the file test.sage
#/usr/bin/sage -python
R.a,b,c=BooleanPolynomialRing(3)
print (a+b+c)*(a+b)
sage: %runfile test.spyx
compiles the file test.spyx, but output is shown in the terminal.
The output is too large.
How to redirect the output to a file like
$ ./test.spyx out.txt
--
You received this message because you are subscribed to the Google Groups
sage-support group.
To
I am new to sage.
x=var('a')
print x*x*x*x+x*x*x+x*x+x
How to do this symbolic algebra in GF(2)={0,1} ?
--
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
On Tuesday, March 11, 2014 7:55:04 PM UTC+5:30, Prakash Dey wrote:
I am new to sage.
x=var('a')
y=var('b')
print x+y
How to do this symbolic algebra in GF(2)={0,1} ?
--
You received this message because you are subscribed to the Google Groups
sage-support group.
To unsubscribe from
Thanks. But
x= polygen(GF(2), a)
y= polygen(GF(2), b)
print x+y
--- gives error
How to do this symbolic algebra in GF(2)={0,1} ?
My need is the following:
I have a recurrence relation like z[t+6]=z[t]+z[t+3]+z[t+4]*z[t+5] in GF(2)
taking z[0]=a0,z[1]=a1,...,z[5]=a5
i want
Thanks. It solves my problem.
--
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 sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to
14 matches
Mail list logo