#############################################################################
##
#F                             CHEVIE library
##
#Y  Copyright 1992--1993,  Lehrstuhl D f"ur Mathematik,    RWTH Aachen,   and
#Y                         IWR   der   Universit"at    Heidelberg,   Germany.
##
# Orthogonalitaet o.k. uep 4.2.92.
#############################################################################
#                                                                           #
#   Die Greenfunktionen der G_2(q),  (6,q)=1                                #
#                                                                           #
#############################################################################
##
#A {\sc B. Chang, R. Ree}, The characters of G_2(q), Symposia Mathematica XIII,
#A   London (1974), 395--413
##
lprint(`**************************************************************************`);
lprint(`*                                                                        *`);
lprint(`*                                                                        *`);
lprint(`*                    Green Functions of G_2(q),  (6,q)=1                 *`);
lprint(`*                                                                        *`);
lprint(`*                                                                        *`);
lprint(`**************************************************************************`);

# tafel der werte

`G2n23green` := array(-2..6, -1..7, [

 [`G_2(q)`, `G2005green`, q^6*(q-1)^2*(q+1)^2*(q^2+q+1)*(q^2-q+1), 6, 6, 7, 7],

 [`classname`,[], `u_0`, `u_1`, `u_2`, `u_3`, `u_4`, `u_5`, `u_6` ], 

 [`classlength`, 1,  1, (q^2-q+1)*(q^2+q+1)*(q+1)*(q-1),
  (q^2-q+1)*(q^2+q+1)*(q+1)*(q-1)*q^2,
  1/6*q^2*(q-1)^2*(q+1)^2*(q^2+q+1)*(q^2-q+1),
  1/2*q^2*(q-1)^2*(q+1)^2*(q^2+q+1)*(q^2-q+1),
  1/3*q^2*(q-1)^2*(q+1)^2*(q^2+q+1)*(q^2-q+1),
  q^4*(q-1)^2*(q+1)^2*(q^2+q+1)*(q^2-q+1)],

 [[`\\emptyset`], (q+1)^2*(q^2+q+1)*(q^2-q+1), (q+1)^2*(q^2+q+1)*(q^2-q+1),
  (q+1)*(q^2+q+1), (q+1)*(2*q+1), 4*q+1, 2*q+1, q+1, 1], 

 [[`\\tilde A_1`], -(q-1)*(q+1)*(q^2+q+1)*(q^2-q+1), -(q-1)*(q+1)*(q^2+q+1)
  *(q^2-q+1), -(q-1)*(q^2+q+1), q+1, 2*q+1, 1, -q+1, 1], 

 [[`A_1`], -(q-1)*(q+1)*(q^2+q+1)*(q^2-q+1), -(q-1)*(q+1)*(q^2+q+1)*(q^2-q+1),
  (q+1)*(q^2-q+1), -q+1, -2*q+1, 1, q+1, 1], 

 [[`G_2`], (q-1)^2*(q+1)^2*(q^2+q+1), (q-1)^2*(q+1)^2*(q^2+q+1), -(q-1)*(q+1)^2,
  -(q-1)*(q+1), -q+1, q+1, 2*q+1, 1],

 [[`A_2`], (q-1)^2*(q+1)^2*(q^2-q+1), (q-1)^2*(q+1)^2*(q^2-q+1), (q-1)^2*(q+1),
  -(q-1)*(q+1), q+1, -q+1, -2*q+1, 1], 

 [[`A_1+\\tilde A_1`], (q-1)^2*(q^2+q+1)*(q^2-q+1), (q-1)^2*(q^2+q+1)*(q^2-q+1),
  -(q-1)*(q^2-q+1), (q-1)*(2*q-1), -4*q+1, -2*q+1, -q+1, 1]
]):


KlassentypOrdG2005green:=array(1..7,[1,1,1,1,1,1,1]):

NurPolynomG2005green:=true:

# 5) Informationen:
Information.`G2005green`:=TEXT(
`- Information about the Green functions of $G_2(q)$, $p>3$.`,
``,
`- CHEVIE-name of the table: ``G2n23green```,
``,
`- The table was first computed in:`,
`  {\\sc B. Chang, R. Ree}, The characters of $G_2(q)$, Symposia`,
`    Mathematica XIII, London (1974), 395--413.`,
``,
`  The notation for the unipotent classes is taken from that paper.`,
``
):

g := `G2n23green`;
print(`g := ``G2n23green`` `);
