#2025: bug in applying functions to a symbolic matrix
----------------------+-----------------------------------------------------
 Reporter:  was       |        Owner:  gfurnish                      
     Type:  defect    |       Status:  closed                        
 Priority:  major     |    Milestone:  sage-duplicate/invalid/wontfix
Component:  calculus  |   Resolution:  invalid                       
 Keywords:            |  
----------------------+-----------------------------------------------------
Changes (by mhansen):

  * status:  assigned => closed
  * resolution:  => invalid
  * milestone:  sage-4.0.1 => sage-duplicate/invalid/wontfix


Comment:

 This is now fixed due to the changes in 4.0

 {{{
 ----------------------------------------------------------------------
 | Sage Version 4.0.1.rc1, Release Date: 2009-06-04                   |
 | Type notebook() for the GUI, and license() for information.        |
 ----------------------------------------------------------------------
 sage: sage: m = matrix(1,[-x/(2*x-4)])
 sage: sage: m.apply_map(lambda e: taylor(e,x,0,4))
 [1/32*x^4 + 1/16*x^3 + 1/8*x^2 + 1/4*x]
 sage: sage: m.apply_map(lambda e: taylor(e,x,0,4))
 [1/32*x^4 + 1/16*x^3 + 1/8*x^2 + 1/4*x]
 sage: sage: m.apply_map(lambda e: taylor(e,x,1,4))
 [(x - 1)^4 + (x - 1)^3 + (x - 1)^2 + x - 1/2]
 sage: sage: m.apply_map(lambda e: taylor(e,x,2,4))
 [-1/(x - 2) - 1/2]
 sage: sage: m.apply_map(lambda e: taylor(e,x,3,4))
 [-(x - 3)^4 + (x - 3)^3 - (x - 3)^2 + x - 9/2]
 sage: sage: m[0,0].taylor(x,3,4)
 -(x - 3)^4 + (x - 3)^3 - (x - 3)^2 + x - 9/2
 }}}

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