
    \h                         S SK Jr  S rg)   )
CartanTypec                 4    [        U 5      R                  5       $ )a_  Access the Cartan matrix of a specific Lie algebra

Examples
========

>>> from sympy.liealgebras.cartan_matrix import CartanMatrix
>>> CartanMatrix("A2")
Matrix([
[ 2, -1],
[-1,  2]])

>>> CartanMatrix(['C', 3])
Matrix([
[ 2, -1,  0],
[-1,  2, -1],
[ 0, -2,  2]])

This method works by returning the Cartan matrix
which corresponds to Cartan type t.
)r   cartan_matrix)cts    W/var/www/auris/envauris/lib/python3.13/site-packages/sympy/liealgebras/cartan_matrix.pyCartanMatrixr      s    , b>''))    N)cartan_typer   r    r	   r   <module>r      s    #*r	   