U
    §me  ć                   @   s   d dl mZ dd ZdS )é   )Ś
CartanTypec                 C   s   t |  ” S )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   Zcartan_matrix)Śct© r   śC/tmp/pip-unpacked-wheel-rdz2gdd2/sympy/liealgebras/cartan_matrix.pyŚCartanMatrix   s    r   N)Zcartan_typer   r   r   r   r   r   Ś<module>   s   