#7916: change conjugate(X) to try X.conjugate()  [[this is easy!!]]
-----------------------------------+----------------------------------------
   Reporter:  was                  |       Owner:  burcin         
       Type:  defect               |      Status:  positive_review
   Priority:  minor                |   Milestone:  sage-4.3.2     
  Component:  calculus             |    Keywords:                 
     Author:  Burcin Erocal        |    Upstream:  N/A            
   Reviewer:  Karl-Dieter Crisman  |      Merged:                 
Work_issues:                       |  
-----------------------------------+----------------------------------------
Changes (by kcrisman):

  * status:  needs_review => positive_review
  * reviewer:  => Karl-Dieter Crisman
  * work_issues:  needs work? =>


Comment:

 A good solution.  The timing changes seem to be unavoidable, given that we
 don't want conjugate(e^(2/3*I*pi)) as the result, and they seem identical
 otherwise:
 {{{
 sage: %timeit z3.conjugate()
 625 loops, best of 3: 469 µs per loop
 sage: %timeit conjugate(z3)
 625 loops, best of 3: 469 µs per loop
 }}}

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