#13045: Deprecate cholesky_decomposition() in favor of cholesky()
--------------------------------------------------+-------------------------
       Reporter:  rbeezer                         |         Owner:  jason, was  
           Type:  defect                          |        Status:  needs_review
       Priority:  minor                           |     Milestone:  sage-5.1    
      Component:  linear algebra                  |    Resolution:              
       Keywords:  sd40.5                          |   Work issues:              
Report Upstream:  N/A                             |     Reviewers:  Dan Drake   
        Authors:  Rob Beezer                      |     Merged in:              
   Dependencies:  #12966, #13018, #11274, #13035  |      Stopgaps:              
--------------------------------------------------+-------------------------

Comment (by ddrake):

 Separating the caches does show us that the new routine is much faster:
 {{{
 sage: A= random_matrix(CDF, 200); M = A*A.conjugate_transpose()
 sage: %time M.cholesky()
 CPU times: user 0.01 s, sys: 0.00 s, total: 0.01 s
 Wall time: 0.03 s
 200 x 200 dense matrix over Complex Double Field
 sage: %time M.cholesky_decomposition()
 /home/drake/s/sage-5.1.beta0/local/lib/python2.7/site-
 packages/IPython/Magic.py:1981: DeprecationWarning: (Since Sage Version
 5.1) cholesky_decomposition() is deprecated; please use cholesky()
 instead.
   out = eval(code,glob)
 CPU times: user 23.33 s, sys: 0.01 s, total: 23.34 s
 Wall time: 23.42 s
 200 x 200 dense matrix over Complex Double Field
 }}}
 About three orders of magnitude. Nice.

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