#8621: New functions in lcalc wrapper
-----------------------------+----------------------------------------------
   Reporter:  rishi          |       Owner:  was     
       Type:  enhancement    |      Status:  new     
   Priority:  major          |   Milestone:  sage-4.4
  Component:  number theory  |    Keywords:          
     Author:                 |    Upstream:  N/A     
   Reviewer:                 |      Merged:          
Work_issues:                 |  
-----------------------------+----------------------------------------------

Old description:

> I have added access to two new functions in lcalc wrapper.
>
> compute_rank and hardy_z_function

New description:

 I have added access to two new functions in lcalc wrapper.

 compute_rank and hardy_z_function. This patch depends on #5396

--

Comment(by rishi):

 I have added two new functions
 {{{
 sage: from sage.libs.lcalc.lcalc_Lfunction import
 (Lfunction_from_character, Lfunction_from_elliptic_curve)
 sage: chi=DirichletGroup(123)[31]
 sage: L1=Lfunction_from_character(chi)
 sage: L1.hardy_z_function(.5+5*I)
 -0.462453973892362 - 7.93526871565814e-15*I
 sage: L1.compute_rank()
 0
 sage: L2=Lfunction_from_elliptic_curve(EllipticCurve('37a'))
 sage: L2.compute_rank()
 1
 sage: L2.hardy_z_function(.5+6*I)
 -2.17184689048993 - 1.76053169785863e-15*I
 sage: L2.hardy_z_function(-.5+6*I)
 4.17981266933977 + 36.9688966864015*I
 }}}

 Although for elliptic curves, other programs will be better for analytic
 rank, I have added this because here it works for any L function

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8621#comment:2>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
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-trac?hl=en.

Reply via email to