class_docstr: For each semisimple Lie group, we have a Weyl group.  It is a subgroup of
  the isometry group of the root system.  Specifically, it's the subgroup
  that is generated by reflections through the hyperplanes orthogonal to
  the roots.  Therefore, Weyl groups are reflection groups, and so a Weyl
  group is a finite Coxeter group.
docstr: This method creates the generating reflections of the Weyl group for
  a given Lie algebra.  For a Lie algebra of rank n, there are n
  different generating reflections.  This function returns them as
  a list.
  
  Examples
  ========
  
  >>> from sympy.liealgebras.weyl_group import WeylGroup
  >>> c = WeylGroup("F4")
  >>> c.generators()
  ['r1', 'r2', 'r3', 'r4']
docstr_tok: ["This","method","creates","the","generating","reflections","of","the","Weyl","group","for","a","given","Lie","algebra",".","For","a","Lie","algebra","of","rank","n",",","there","are","n","different","generating","reflections",".","This","function","returns","them","as","a","list",".","Examples","========",">",">",">","from","sympy.liealgebras.weyl_group","import","WeylGroup",">",">",">","c","=","WeylGroup","(","``","F4","''",")",">",">",">","c.generators","(",")","[","'r1","'",",","'r2","'",",","'r3","'",",","'r4","'","]"]
code: def generators(self):
      """
      This method creates the generating reflections of the Weyl group for
      a given Lie algebra.  For a Lie algebra of rank n, there are n
      different generating reflections.  This function returns them as
      a list.
  
      Examples
      ========
  
      >>> from sympy.liealgebras.weyl_group import WeylGroup
      >>> c = WeylGroup("F4")
      >>> c.generators()
      ['r1', 'r2', 'r3', 'r4']
      """
      n = self.cartan_type.rank()
      generators = []
      for i in range(1, n + 1):
          reflection = "r" + str(i)
          generators.append(reflection)
      return generators
  
file_path: sympy/sympy/liealgebras/weyl_group.py
imports: from .cartan_type import CartanType
  from mpmath import fac
  from sympy.core.backend import Matrix, eye, Rational, igcd
  from sympy.core.basic import Atom
label_desc: Use image node_id 2 for calling the WeylGroup obj's underlying member method code with example usage: obj.generators() and returns: generators