docstr: Dmension of the vector space V underlying the Lie algebra
  
  Examples
  ========
  
  >>> from sympy.liealgebras.cartan_type import CartanType
  >>> c = CartanType("D4")
  >>> c.dimension()
  4
docstr_tok: ["Dmension","of","the","vector","space","V","underlying","the","Lie","algebra","Examples","========",">",">",">","from","sympy.liealgebras.cartan_type","import","CartanType",">",">",">","c","=","CartanType","(","``","D4","''",")",">",">",">","c.dimension","(",")","4"]
code: def dimension(self):
      """Dmension of the vector space V underlying the Lie algebra
  
      Examples
      ========
  
      >>> from sympy.liealgebras.cartan_type import CartanType
      >>> c = CartanType("D4")
      >>> c.dimension()
      4
      """
  
      return self.n
  
file_path: sympy/sympy/liealgebras/type_d.py
imports: from .cartan_type import Standard_Cartan
  from sympy.core.backend import eye
label_desc: Use image node_id 2 for calling the TypeD obj's underlying member method code with example usage: obj.dimension() and returns: self