[sage-support] Hard lattice along with the random matrix generating it

2012-12-18 Thread Rohan Kulkarni
Hello, I am using the function B = sage.crypto.lattice.gen_lattice('modular',n,m,q). It generates the basis of row vectors of a hard lattice based on the Ajtai[96] paper, as mentioned in the references. I wanted the random matrix(parity check matrix) 'A' used to generate this hard lattice, so

[sage-support] Parallel tests in Sage

2012-12-18 Thread Nathann Cohen
Helloo everybody ! Is it only me or is there something wrong with that ? ~/sage/sage$ sage -tp 5 . ... Doctesting 0 files doing 0 jobs in parallel Traceback (most recent call last): File /home/ncohen/.Sage/local/bin/sage-ptest, line 445, in module p =

[sage-support] Replace variable of one polynomial with one matrix

2012-12-18 Thread Christophe BAL
Hello, in the following code I would like to replace x with T in Delta_X so as to illustrate the Cayley Hamilton theorem by doing everything by hands. Is it possible ? Best regards. Christophe BAL = var('a b c d e f') T = matrix([ [a, b, c], [0, d, e], [0,

[sage-support] Re: Replace variable of one polynomial with one matrix

2012-12-18 Thread John H Palmieri
On Tuesday, December 18, 2012 11:45:47 AM UTC-8, projetmbc wrote: Hello, in the following code I would like to replace x with T in Delta_X so as to illustrate the Cayley Hamilton theorem by doing everything by hands. Is it possible ? Best regards. Christophe BAL