Re: [sage-support] Discrete Logarithm Algorithm

2014-05-04 Thread John Cremona
log() is a function you would apply to numbers, say real or complex: sage: a = RealField(100)(2) sage: a.log() 0.69314718055994530941723212146 while discrete_log() is something to do in a finite cyclic group. For example: sage: F = FiniteField(101) sage: a = F(2) sage: b = a^67 sage:

Re: [sage-support] Discrete Logarithm Algorithm

2014-05-04 Thread Jan Medina
But the log() function works on a finite field too. So its not correct if a i use the log on finite fields? I wan to calculate log(\theta+i,\theta) for i in a finte field and theta a primtive element 2014-05-04 6:07 GMT-05:00 John Cremona john.crem...@gmail.com: log() is a function you would

Re: [sage-support] Discrete Logarithm Algorithm

2014-05-04 Thread John Cremona
On 4 May 2014 13:20, Jan Medina janmedin...@gmail.com wrote: But the log() function works on a finite field too. So its not correct if a i use the log on finite fields? OK -- you did not explain at all what is was that you were doing, na d I could not guess! I wan to calculate

[sage-support] Re: Discrete Logarithm Algorithm

2014-05-04 Thread Simon King
Hi Jan, hi John, On 2014-05-04, John Cremona john.crem...@gmail.com wrote: On 4 May 2014 13:20, Jan Medina janmedin...@gmail.com wrote: I wan to calculate log(\theta+i,\theta) for i in a finte field and theta a primtive element You can see the documentation of this function like this:

Re: [sage-support] Re: Discrete Logarithm Algorithm

2014-05-04 Thread Jan Medina
Hi John, hi Simon. For example i want to construct the Bose.Chowla sequence with parameters p=839 y h=17, my question is what way its better to construct this sequence?. I want to know this because i'm researching on the Chor Rivest system. Thus I need a good algorithm to solve the DLP.

[sage-support] GAP on all cells in SMC

2014-05-04 Thread Kannappan Sampath
Hi Sage-Support, I would like to arrange so that all the computations on a certain worksheet Sage Math Cloud evaluate in GAP. One way is to have %gap in the beginning of all cells. Is there a simpler way? -Kannappan. -- You received this message because you are subscribed to the Google

Re: [sage-support] Re: Discrete Logarithm Algorithm

2014-05-04 Thread John Cremona
On 4 May 2014 16:02, Jan Medina janmedin...@gmail.com wrote: Hi John, hi Simon. For example i want to construct the Bose.Chowla sequence with parameters p=839 y h=17, my question is what way its better to construct this sequence?. I have no idea, sorry. I want to know this because i'm

Re: [sage-support] GAP on all cells in SMC

2014-05-04 Thread William Stein
On Sun, May 4, 2014 at 8:10 AM, Kannappan Sampath kntri...@gmail.com wrote: Hi Sage-Support, I would like to arrange so that all the computations on a certain worksheet Sage Math Cloud evaluate in GAP. One way is to have %gap in the beginning of all cells. Is there a simpler way? Put

[sage-support] Error installing package singular-3.1.5.p9

2014-05-04 Thread Edidiong Attang
Good day, I have tried installing the sage software the last 48 hours. It appears the latest error is this *Error installing package singular-3.1.5.p9* I am using a MAC OSX 9.2 and an intel core i7 I was told during the compilation to load a subshell using the command below *(cd

Re: [sage-support] GAP on all cells in SMC

2014-05-04 Thread Kannappan Sampath
Thank you! Kannappan. On Sun, May 4, 2014 at 10:42 PM, William Stein wst...@gmail.com wrote: On Sun, May 4, 2014 at 8:10 AM, Kannappan Sampath kntri...@gmail.com wrote: Hi Sage-Support, I would like to arrange so that all the computations on a certain worksheet Sage Math Cloud

Re: [sage-support] Error installing package singular-3.1.5.p9

2014-05-04 Thread Kannappan Sampath
What version of SAGE are you trying to compile? Kannappan. On Sun, May 4, 2014 at 7:00 PM, Edidiong Attang eatt...@gmail.com wrote: Good day, I have tried installing the sage software the last 48 hours. It appears the latest error is this *Error installing package singular-3.1.5.p9* I

Re: [sage-support] Re: Discrete Logarithm Algorithm

2014-05-04 Thread Jan Medina
Hi John John the discrete_log is the bsgs? in SAGE is not implemeted the Pohlig Helman algorithm? 2014-05-04 10:41 GMT-05:00 John Cremona john.crem...@gmail.com: On 4 May 2014 16:02, Jan Medina janmedin...@gmail.com wrote: Hi John, hi Simon. For example i want to construct the

[sage-support] Re: Error installing package singular-3.1.5.p9

2014-05-04 Thread leif
Edidiong Attang wrote: Good day, I have tried installing the sage software the last 48 hours. It appears the latest error is this /Error installing package singular-3.1.5.p9/ I am using a MAC OSX 9.2 and an intel core i7 You probably ran into http://trac.sagemath.org/ticket/15937 . Note

Re: [sage-support] Re: Discrete Logarithm Algorithm

2014-05-04 Thread John Cremona
On 4 May 2014 18:53, Jan Medina janmedin...@gmail.com wrote: Hi John John the discrete_log is the bsgs? in SAGE is not implemeted the Pohlig Helman algorithm? One of the great things about Sage is that you have access to the source code, so you can answer such questions yourself: sage:

[sage-support] Re: Memory leak in Cone.dual()

2014-05-04 Thread pete . donnell
Thanks guys. Manual garbage collection helps, but memory usage still creeps up. Looks like I need to build sage 6.2 from source! -- 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,