Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/Python/Sympy/sympy/liealgebras/     Datei vom 6.10.2026 mit Größe 570 B image not shown  

Quelle  dynkin_diagram.py   Sprache: Python

 

from __future__ import annotations
from .cartan_type import CartanType


def DynkinDiagram(t):
    """Display the Dynkin diagram of a given Lie algebra

    Works by generating the CartanType for the input, t, and then returning the
    Dynkin diagram method from the individual classes.

    Examples
    ========

    >>> from sympy.liealgebras.dynkin_diagram import DynkinDiagram
    >>> print(DynkinDiagram("
A3"))
    0---0---0
    1   2   3

    >>> print(DynkinDiagram("
B4"))
    0---0---0=>=0
    1   2   3   4

    "
""

    return CartanType(t).dynkin_diagram()

Messung
CHZG
801009692

¤ Dauer der Verarbeitung: 0.0 Sekunden  (vorverarbeitet am  2026-11-24) ¤

*© Formatika GbR, Deutschland