Hi,

> The example from the reference manual p.2630
>
> sage: lcalc.twist_values(0.5, -10, 10)
> [(-8, 1.10042141), (-7, 1.14658567), (-4, 0.667691457), (-3,
> 0.480867558),
> (5, 0.231750947), (8, 0.373691713)]
>
> works fine. But I need the value of  L( chi_3 , 2 ).
>

I think the problem is just one of documentation. In fact, the
twist_values command calls into lcalc, and it's giving you twists by
quadratic characters with *conductor* between dmin and dmax, *not* the
characters of the form (d/.) with d between dmin and dmax. As it
happens, the Kronecker symbol (3/.) happens to have conductor 12, not
3, which is what's causing the confusion:

sage: kronecker_character(3).conductor()
12

Then this should be the value you want:

sage: lcalc.twist_values(2,12,12)
[(12, 0.949703126)]

I'll file a trac ticket about this right now ... and a patch is up:

http://trac.sagemath.org/sage_trac/ticket/5896

Anyone want to give this a quick review?

-cc

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to