#5396: Wrapping lcalc library
-----------------------------+----------------------------------------------
   Reporter:  rishi          |       Owner:  Rishi          
       Type:  enhancement    |      Status:  needs_work     
   Priority:  major          |   Milestone:  sage-4.3.1     
  Component:  number theory  |    Keywords:  lcalc          
Work_issues:                 |      Author:  rishi, ylchapuy
   Upstream:  N/A            |    Reviewer:  John Cremona   
     Merged:                 |  
-----------------------------+----------------------------------------------

Comment(by rishi):

 Thanks Bober for the comment about compiling lcalc.

  I wrote the two functions to generate L functions of Dirichlet characters
 and Elliptic Curves exclusively for testing of wrapper. It was not
 supposed to be for end users at all. I wrote very simple function whose
 sole purpose was to not introduce any bugs. In fact they were in a file
 called for_testing.py till the refactor of code.

 Can we do optimization outside the wrapper itself.

 Maybe we can write new functions in the lfunctions directory to generate
 elliptic curve, modular forms and dirichlet lfunctions.

 Replying to [comment:44 bober]:
 > Suggestion: in the function Lfunction_from_character, instead of calling
 chi.gauss_sum(), call chi.gauss_sum_numerical(). It is much faster, and in
 the end we are only interested in the numerical approximation anyway.
 >
 > {{{
 > sage: G = DirichletGroup(101)
 > sage: chi = G[1]
 > sage: time A = chi.gauss_sum()
 > CPU times: user 19.05 s, sys: 0.02 s, total: 19.07 s
 > Wall time: 19.07 s
 > sage: time B = chi.gauss_sum_numerical()
 > CPU times: user 0.06 s, sys: 0.00 s, total: 0.06 s
 > Wall time: 0.06 s
 > }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5396#comment:45>
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