[sage-support] Sage installation fails (7.6 and 8.6) with "Error: spkg file '/patch-2.7.5.tar.gz' not found."

2019-02-19 Thread A Prakash
Dear all, Please find the full mesg. text below. the log file is attached. Best, Akshay. ... XDG_SESSION_TYPE=x11 XDG_VTNR=1 XMODIFIERS=@im=none *** make[1]: Entering directory `/home/ap/Documents/sage/sage-7.6/build/make' make base make[2]:

[sage-support] command line type argument when loading sage files

2014-06-19 Thread Prakash Dey
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:

[sage-support] sage notebook in other browser

2014-03-28 Thread Prakash Dey
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

[sage-support] Re: sage notebook in other browser

2014-03-28 Thread Prakash Dey
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

[sage-support] Trivium Cipher

2014-03-21 Thread Prakash Dey
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 =

[sage-support] Trivium Cipher Implementation n sage

2014-03-21 Thread Prakash Dey
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 =

[sage-support] Re: Trivium Cipher Implementation n sage

2014-03-21 Thread Prakash Dey
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

[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.

[sage-support] BooleanPolynomialRing in standalone python script

2014-03-16 Thread Prakash Dey
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-support] sage: %runfile test.spyx ----------- output redirection to a file

2014-03-15 Thread Prakash Dey
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

[sage-support] How to do symbolic algebra in GF(2)={0,1}

2014-03-11 Thread Prakash Dey
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

[sage-support] Re: How to do symbolic algebra in GF(2)={0,1}

2014-03-11 Thread Prakash Dey
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

[sage-support] Re: How to do symbolic algebra in GF(2)={0,1}

2014-03-11 Thread Prakash Dey
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

[sage-support] Re: How to do symbolic algebra in GF(2)={0,1}

2014-03-11 Thread Prakash Dey
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