#5184: [with patch, needs review] nonzero_positions is broken for sparse vectors
----------------------------+-----------------------------------------------
 Reporter:  jhpalmieri      |       Owner:  jhpalmieri
     Type:  defect          |      Status:  assigned  
 Priority:  major           |   Milestone:  sage-3.4.1
Component:  linear algebra  |    Keywords:            
----------------------------+-----------------------------------------------
Changes (by jhpalmieri):

  * owner:  was => jhpalmieri
  * status:  new => assigned


Comment:

 Here's a patch.  This doesn't actually change {{{nonzero_positions}}}
 (except for adding a doctest); instead it changes addition, subtraction,
 and scalar multiplication for sparse free module elements so that these
 only keep nonzero dictionary entries.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5184#comment:3>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of 
Reinventing the Wheel

--~--~---------~--~----~------------~-------~--~----~
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