#15970: j_invariant_qexp won't allow substitution
-------------------------------------------------+-------------------------
       Reporter:  katestange                     |        Owner:
           Type:  defect                         |       Status:  new
       Priority:  minor                          |    Milestone:  sage-6.2
      Component:  number theory                  |   Resolution:
       Keywords:  j-invariant, laurent series,   |    Merged in:
  q-expansion, substitution                      |    Reviewers:
        Authors:                                 |  Work issues:
Report Upstream:  N/A                            |       Commit:
         Branch:                                 |     Stopgaps:
   Dependencies:                                 |
-------------------------------------------------+-------------------------

Comment (by fwclarke):

 Replying to [comment:2 katestange]:
 > But before we close the ticket, can we clarify what way the user should
 accomplish the intended calculation?  How can one approximate the
 j-invariant for various tau in the upper half plane?

 For numerical computations, `elliptic_j` will do:
 {{{
 sage: elliptic_j(I)
 1728.00000000000
 }}}
 and the precision can be increased as in
 {{{
 sage: elliptic_j(sqrt(-1).n(128))
 1728.0000000000000000000000000000000000
 }}}
 or
 {{{
 sage: tau = (1 + sqrt(-163))/2
 sage: elliptic_j(tau.n(100))
 -2.6253741264076799999999999999e17 + 1.3012822400356849057448214481e-12*I
 sage: (-elliptic_j(tau.n(100)).real().round())^(1/3)
 640320
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/15970#comment:3>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to