Perron-Frobenius Theorem and the Stationary Distribution for Markov Chains

Proof of the uniqueness of stationary distribution for finite irreducible Markov chains, using Perron-Frobenius Theorem

January 24, 2026 · 2 min · Zhiyang Shen

Understanding Diffusion Models

From differential equation to diffusion models

January 24, 2026 · 14 min · Zhiyang Shen

What if Each Number is a Polynomial?

关于数论的一些很久以前的小想法 / Some naive ideas about number theory years ago …

June 26, 2025 · 1 min · Zhiyang Shen

FFT On the Road

Guide to implement FFT in C++ with parallelism

April 20, 2024 · 5 min · Zhiyang Shen