I often find it useful to add some mathematical or greek symbols in my scientific computing Python programs (mainly in commentary). Here is a selection I've taken from Gnome Character Map for math. Greek was mainly generated by a Python script...
Math
Arithmetic | |
---|---|
plus-minus | _ ± |
multiplication | _ × |
division | _ ÷ |
power | _ ² ³ |
root | _ √ ∛ |
infinity | _ ∞ |
Operators | |
---|---|
integrals and sum | _ ∫ ∬ ∑ |
partial diff. | _ ∂ |
increment/Laplace | _ ∆ (different from Greek delta : Δ) |
nabla | _ ∇ |
expectation | _ ⟨⟩ [apparently the double-struck E symbol kills Worpress...] |
Relationships
- equality = ≈ ≠ ≡
- inequality < > ≤ ≥ ⩽ ⩾
- proportional to ∝
- element of ∈ ∉
- subset of ⊂ ⊄
- quantifiers ∀ ∃ ∄
Sets
- integers ℕ ℤ
- real numbers ℝ
- complex numbers ℂ
- empty set ∅
Arrows
- arrows : → ⟶ ⇒
- maps to : ↦ ⟼
Greek
pairs of lower case and upper case letters (putting a dot on letters which have very similar latin counterparts)
α .
β .
γ Γ
δ Δ
ε .
ζ .
η .
θ Θ
. .
κ .
λ Λ
μ .
ν .
ξ Ξ
. .
π Π
ρ .
ς .
σ Σ
τ .
υ .
φ Φ (and also ϕ at U+03d5)
χ .
ψ Ψ
ω Ω
This greek table was first generated by these three lines of Python:
l = [unichr(a)+u' '+unichr(b) for a,b in zip(range(0x3b1, 0x3ca), range(0x391,0x3aa)) ] print(u'\n'.join(l))