Notation PreferencesScientific Python

Type your preferred LaTeX symbol and press Enter. Changes apply across all pages.

KeyMeaningYour SymbolDefault
No matching symbols found

Global Notation — Scientific Python

Notation conventions used throughout the Scientific Python textbook. Mathematical notation is consistent with Books 1 and 2.

Linear Algebra (NumPy/SciPy)

SymbolMeaning
x\mathbf{x}Vector (lowercase bold) — np.ndarray with ndim=1
X\mathbf{X}Matrix (uppercase bold) — np.ndarray with ndim=2
()T,()H(\cdot)^T, (\cdot)^HTranspose, conjugate transpose — .T, .conj().T
\otimesKronecker product — np.kron() or GPU-accelerated matvec
xp\|\mathbf{x}\|_pp\ell_p norm — np.linalg.norm(x, ord=p)

Signal Processing

SymbolMeaning
F{x(t)}\mathcal{F}\{x(t)\}Fourier transform — np.fft.fft() / scipy.fft.fft()
*Convolution — np.convolve() / scipy.signal.fftconvolve()
fsf_sSampling frequency
N_\\text{fft}FFT size

Optimization

SymbolMeaning
textproxf(mathbfx)\\text{prox}_f(\\mathbf{x})Proximal operator — implemented as a Python function
nablaf(mathbfx)\\nabla f(\\mathbf{x})Gradient — torch.autograd.grad() or manual
\\mathcal{S}_\\tau(\\mathbf{x})Soft-thresholding — np.sign(x) * np.maximum(np.abs(x) - tau, 0)

Deep Learning (PyTorch)

SymbolMeaning
f_\\thetaNeural network — nn.Module with parameters θ\theta
mathcalL(theta)\\mathcal{L}(\\theta)Loss function — loss.backward() triggers autograd
eta\\etaLearning rate
BBBatch size
TTNumber of unrolling iterations or diffusion steps

Code Conventions

SymbolMeaning
snake_caseFunction and variable names
CamelCaseClass names
UPPER_CASEConstants
-> ReturnTypeType hints on all public functions
xpArray module variable (NumPy, CuPy, or PyTorch) for backend-agnostic code