K i bUdZddlmZddlmZddlZddlmZmZddl m Z ddl m Z ed \ Z ZZZZZZZZZed \ ZZZZZZZZZZ ed \Z!Z"Z#Z$Z%Z&ed \ Z'Z(Z)Z*Z+Z,Z-Z.Z/Z0ed \ Z1Z2Z3Z4Z5Z6Z7Z8Z9Z:ed\Z;ZZ?Z@ed\ZAZBZCZDed\ZEZFZGZHed\ZIZJZKZLed\ZMZNZOZPed\ZQZRZSZTed\ZUZVZWZXeYejZ[eYe Z\e\jde\jdiZ_de`d<eade_iZbde`d<iZcde`d<e_rKe_j\ZeZfeee\vre ecee<e\jeeneee[vre ebee<e[jeee_rKiZgegjebegjec[[[\[[e[ y)a This module exports all latin and greek letters as Symbols, so you can conveniently do >>> from sympy.abc import x, y instead of the slightly more clunky-looking >>> from sympy import symbols >>> x, y = symbols('x y') Caveats ======= 1. As of the time of writing this, the names ``O``, ``S``, ``I``, ``N``, ``E``, and ``Q`` are colliding with names defined in SymPy. If you import them from both ``sympy.abc`` and ``sympy``, the second import will "win". This is an issue only for * imports, which should only be used for short-lived code such as interactive sessions and throwaway scripts that do not survive until the next SymPy upgrade, where ``sympy`` may contain a different set of names. 2. This module does not define symbol names on demand, i.e. ``from sympy.abc import foo`` will be reported as an error because ``sympy.abc`` does not contain the name ``foo``. To get a symbol named ``foo``, you still need to use ``Symbol('foo')`` or ``symbols('foo')``. You can freely mix usage of ``sympy.abc`` and ``Symbol``/``symbols``, though sticking with one and only one way to get the symbols does tend to make the code more readable. The module also defines some special names to help detect which names clash with the default SymPy namespace. ``_clash1`` defines all the single letter variables that clash with SymPy objects; ``_clash2`` defines the multi-letter clashing symbols; and ``_clash`` is the union of both. These can be passed for ``locals`` during sympification if one desires Symbols rather than the non-Symbol objects for those names. Examples ======== >>> from sympy import S >>> from sympy.abc import _clash1, _clash2, _clash >>> S("Q & C", locals=_clash1) C & Q >>> S('pi(x)', locals=_clash2) pi(x) >>> S('pi(C, Q)', locals=_clash) pi(C, Q) ) annotations)AnyN)Symbolsymbols)greeks)nullza, b, c, d, e, f, g, h, i, jzk, l, m, n, o, p, q, r, s, tzu, v, w, x, y, zzA, B, C, D, E, F, G, H, I, JzK, L, M, N, O, P, Q, R, S, TzU, V, W, X, Y, Zzalpha, beta, gamma, deltazepsilon, zeta, eta, thetaziota, kappa, lamda, muznu, xi, omicron, pizrho, sigma, tau, upsilonzphi, chi, psi, omegalambdalamdazdict[str, Any]nszfrom sympy import *_clash1_clash2)i__doc__ __future__rtypingrstringcorerrcore.alphabetsrsympy.parsing.sympy_parserr abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZalphabetagammadeltaepsilonzetaetathetaiotakappar munuxiomicronpirhosigmatauupsilonphichipsiomegalist ascii_letters_latin_greekremoveappendr __annotations__execr rpopitem_k__clashupdateO/mnt/ssd/data/python-lab/Trading/venv/lib/python3.12/site-packages/sympy/abc.pyrqs3h# !"+ ''EF1aAq!Q1&'EF1aAq!Q1-.1aAq&'EF1aAq!Q1&'EF1aAq!Q1-.1aAq#$?@tUE#$?@sE !9:eUB34B"#=>UC56S#u f"" # f h gNB JJLEB V|  b v  b   g g FFBro