[sage-support] Embed Cells

2013-04-18 Thread Juan Grados
Dears members, I like use the SAGE to embed any code (example below). But I want linked two cells using this instruction but this not work. How I will be able to fix this?. For example I trying call from "compute" cel

[sage-support] Re: Problem installing python module to sage in Mac OSX 10.4

2013-04-18 Thread kcrisman
On Thursday, April 18, 2013 6:34:34 PM UTC-4, mcl wrote: > > Hello, > > I am trying to install the Biopython module to sage's python installation. > I am running sage 5.0, which seems to be the latest version with a OSX 10.4 > binary. > Some thoughts: We have much more recent binaries for PP

[sage-support] Boolean Function

2013-04-18 Thread Santanu Sarkar
Dear all, I have a Boolean polynomial f with huge degree & variables. Also it has huge number of monomials. I want to delete all monomials from f with degree greater than 20. For that I have written the following approach. V=BooleanPolynomialRing(4,['r%d'%(i) for i in range(4)]) V.inject_variab

[sage-support] Problem installing python module to sage in Mac OSX 10.4

2013-04-18 Thread mcl
Hello, I am trying to install the Biopython module to sage's python installation. I am running sage 5.0, which seems to be the latest version with a OSX 10.4 binary. I am attempting to build biopython as follows: sage --python setup.py build but apparently there are some issues with gcc and sa

Re: [sage-support] right_kernel()

2013-04-18 Thread David Joyner
On Thu, Apr 18, 2013 at 5:42 PM, Juan Grados wrote: > I ask this because I am study McEliece Cryptosystem. And to get > the generator matrix of Goppa code I am using the right_kernel() > instruction > > Krnl = H.right_kernel(); > > but I get always these form. The parity check matrix is building

Re: [sage-support] right_kernel()

2013-04-18 Thread Juan Grados
I ask this because I am study McEliece Cryptosystem. And to get the generator matrix of Goppa code I am using the right_kernel() instruction Krnl = H.right_kernel(); but I get always these form. The parity check matrix is building using the matrix T, V and D. How I will be able to get generator m

Re: [sage-support] right_kernel()

2013-04-18 Thread William Stein
On Thu, Apr 18, 2013 at 1:50 PM, Juan Grados wrote: > Dears members, > > I executed right_kernel() for any matrix H. Why always I get a basis matrix > in this form [I|A] (I:identity)? That's not true for the 1x2 matrix [1,0]: sage: matrix(1,2,[1,0]).right_kernel() Free module of degree 2 and ra

[sage-support] right_kernel()

2013-04-18 Thread Juan Grados
Dears members, I executed right_kernel() for any matrix H. Why always I get a basis matrix in this form [I|A] (I:identity)? -- - MSc. Juan del Carmen Grados Vásquez Laboratório Nacional de Computação Científica Tel: +55 24 2233-

Re: [sage-support] Re: Polynomial quotient and reminder

2013-04-18 Thread Andrea Lazzarotto
2013/4/18 Simon King > A symbolic expression is something fairly general---so general that many > methods won't make sense in this generality. A symbolic expression may > contain all "strange" stuff like sin(x^2), exp(pi), x^x, etc. > > From computer science point of view, the mathematical algo

Re: [sage-support] Re: Sage+TeX for Windows dummies

2013-04-18 Thread kcrisman
On Thursday, April 18, 2013 11:24:42 AM UTC-4, Dan Drake wrote: > > On Sat, 13 Apr 2013 at 06:46PM -0700, kcrisman wrote: > > Dan, do you have any tips for using SageTeX on Windows? > > I'm a bit late here, but sadly my only tip is: switch to OS X or Linux. > Which I know is not always a good

Re: [sage-support] Re: Sage+TeX for Windows dummies

2013-04-18 Thread Dan Drake
On Sat, 13 Apr 2013 at 06:46PM -0700, kcrisman wrote: > Dan, do you have any tips for using SageTeX on Windows? I'm a bit late here, but sadly my only tip is: switch to OS X or Linux. Which I know is not always a good option. Until we have a working Cygwin port, I don't see any good options for W

Re: [sage-support] Solve Binary Linear System

2013-04-18 Thread John H Palmieri
On Thursday, April 18, 2013 8:01:38 AM UTC-7, juaninf wrote: > > Thanks, > > But if the matrix A is non-square How I will be able to solve?. I am > trying but I get number of rows of self must equal degree of B > This is a math question now. If A is n x k, and if you want to solve Ax = b, the

Re: [sage-support] Solve Binary Linear System

2013-04-18 Thread Juan Grados
Thanks, But if the matrix A is non-square How I will be able to solve?. I am trying but I get number of rows of self must equal degree of B 2013/4/17 Robert Bradshaw > sage: A = random_matrix(GF(2), 1, 1) > sage: A.det() > 1 > sage: b = random_vector(GF(2), 1) > sage: %time x = A \

[sage-support] Group action

2013-04-18 Thread Johannes
Hi guys, I have the following setting: Given a finite subgroup G of GL_\C(n) of order k, acting on C[x_1,...,x_n] by multiplication with (potenz of a ) k-th root of unity. What is the best way, to translate this setting to sage? In the end I'm interested into the ring of invariants under G and it'