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: discrete_l

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 : > log() is a function you would apply to numbers, say

Re: [sage-support] Discrete Logarithm Algorithm

2014-05-04 Thread John Cremona
On 4 May 2014 13:20, Jan Medina 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 log(\theta+i,\theta) for i in a

[sage-support] Re: Discrete Logarithm Algorithm

2014-05-04 Thread Simon King
Hi Jan, hi John, On 2014-05-04, John Cremona wrote: > On 4 May 2014 13:20, Jan Medina 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: > > sage: F=GF(101) >

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. 2014-05

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

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

2014-05-04 Thread John Cremona
On 4 May 2014 16:02, Jan Medina 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 researching on the

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 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 %default_mode gap

[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 '/Users/edd

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 wrote: > On Sun, May 4, 2014 at 8:10 AM, Kannappan Sampath > 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 ha

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

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 : > On 4 May 2014 16:02, Jan Medina wrote: > > Hi John, hi Simon. > > > > For example i want to construct the Bose.Chowla sequence with parameters > > p=83

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

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

2014-05-04 Thread John Cremona
On 4 May 2014 18:53, Jan Medina 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: search_src("Pohlig") g

[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, s

[sage-support] Re: Typeset in SageMathCloud?

2014-05-04 Thread Christian Caballero
Thank you very much for your response and sorry I didn't know there was a FAQ I would have searched there before. El sábado, 3 de mayo de 2014 17:25:21 UTC-5, ssin...@coe.edu escribió: > > On Friday, May 2, 2014 10:46:53 PM UTC-5, Christian Caballero wrote: >> >> Is there a `typeset` option like