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 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_log(b,a) > 67 > > John > > On 4 May 2014 02:17, Jan Medina <janmedin...@gmail.com> wrote: > > Hi everybody. > > > > I want to know what algorithm are implemented for calculate log() and > > discrete log(). and what are the differences? > > > > -- > > 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 sage-support@googlegroups.com. > > Visit this group at http://groups.google.com/group/sage-support. > > For more options, visit https://groups.google.com/d/optout. > > -- > You received this message because you are subscribed to a topic in the > Google Groups "sage-support" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/sage-support/mbx4_5AN208/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > sage-support+unsubscr...@googlegroups.com. > To post to this group, send email to sage-support@googlegroups.com. > Visit this group at http://groups.google.com/group/sage-support. > For more options, visit https://groups.google.com/d/optout. > -- 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 sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.