#4608: roots method broken for root system lattices
-----------------------------+----------------------------------------------
   Reporter:  saliola        |       Owner:  hivert  
       Type:  defect         |      Status:  new     
   Priority:  major          |   Milestone:  sage-4.4
  Component:  combinatorics  |    Keywords:          
     Author:                 |    Upstream:  N/A     
   Reviewer:                 |      Merged:          
Work_issues:                 |  
-----------------------------+----------------------------------------------
Changes (by hivert):

  * owner:  mhansen => hivert
  * upstream:  => N/A


Comment:

 This ticket should be closed. The issues is now fixed:
 {{{
 ----------------------------------------------------------------------
 | Sage Version 4.3.4, Release Date: 2010-03-19                       |
 | Type notebook() for the GUI, and license() for information.        |
 ----------------------------------------------------------------------
 Loading Sage library. Current Mercurial branch is: combinat
 sage: R = RootSystem(['A',2])
 sage: R.coroot_lattice().roots()
 [alphacheck[1], alphacheck[2], alphacheck[1] + alphacheck[2],
 -alphacheck[1], -alphacheck[2], -alphacheck[1] - alphacheck[2]]
 sage: R.coweight_lattice().roots()
 [-Lambdacheck[1] + 2*Lambdacheck[2], Lambdacheck[1] + Lambdacheck[2],
 2*Lambdacheck[1] - Lambdacheck[2], Lambdacheck[1] - 2*Lambdacheck[2],
 -Lambdacheck[1] - Lambdacheck[2], -2*Lambdacheck[1] + Lambdacheck[2]]
 sage: R.root_lattice().roots()
 [alpha[2], alpha[1], alpha[1] + alpha[2], -alpha[2], -alpha[1], -alpha[1]
 - alpha[2]]
 sage: R.weight_lattice().roots()
 [-Lambda[1] + 2*Lambda[2], Lambda[1] + Lambda[2], 2*Lambda[1] - Lambda[2],
 Lambda[1] - 2*Lambda[2], -Lambda[1] - Lambda[2], -2*Lambda[1] + Lambda[2]]
 }}}

 Florent

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