docstr: Dimension of the vector space V underlying the Lie algebra
  
  Examples
  ========
  
  >>> from sympy.liealgebras.cartan_type import CartanType
  >>> c = CartanType("G2")
  >>> c.dimension()
  3
code: def dimension(self):
      """Dimension of the vector space V underlying the Lie algebra
  
      Examples
      ========
  
      >>> from sympy.liealgebras.cartan_type import CartanType
      >>> c = CartanType("G2")
      >>> c.dimension()
      3
      """
      return 3
  
file_path: sympy/sympy/liealgebras/type_g.py
imports: from .cartan_type import Standard_Cartan
  from sympy.core.backend import Matrix
label_desc: Use image node_id 2 for calling the TypeG obj's underlying member method code with example usage: obj.dimension() and returns: int