#5837: bug in rational_diagonal_form() from QuadraticForm class
-----------------------------+----------------------------------------------
 Reporter:  LBerlioz         |       Owner:  LBerlioz              
     Type:  defect           |      Status:  new                   
 Priority:  minor            |   Milestone:                        
Component:  quadratic forms  |    Keywords:  QuadraticForm diagonal
-----------------------------+----------------------------------------------
 The following returns a non-diagonal QuadraticForm:

 {{{
 sage: Q=QuadraticForm(2*A)
 sage: Q.rational_diagonal_form()
 Quadratic form in 3 variables over Rational Field with coefficients:
 [ -3 -32 5184 ]
 [ * -81 26240 ]
 [ * * -2125111 ]
 }}}

 This method works only when the matrix has a diagonal of only ones.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5837>
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