On Tuesday 15 July 2008, John Cremona wrote:
> I don't understand the question.  In 3.0.4:
>
> sage: F=GF(5)
> sage: r=F.multiplicative_generator()
> sage: log(r,r)
> 1
> sage: r.log_repr()

log_repr is quite specific to the Givaro GFq implementation which represents 
finite field elements as exponents of some generator. I was never happy with 
the solution but it is not a generic log() replacement, it merely exposes the 
internal value of the element.

Martin


-- 
name: Martin Albrecht
_pgp: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x8EF0DC99
_www: http://www.informatik.uni-bremen.de/~malb
_jab: [EMAIL PROTECTED]


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to