Skip to content
LUDA · 學思辨行

LUDA · 學思辨行

Learn extensively, Understand deeply, Discern clearly, and Act resolutely.

  • About
  • Learning Path

Category: Numerical

How power iteration extracts a dominant eigenvalue

November 13, 2026By HoHo Zhao

Short answer: Power iteration estimates the dominant eigenvector of a matrix by repeating x ← Ax and normalizing. If one eigenvalue is strictly larger in magnitude than the others, the direction of x converges to that eigenvector and the Rayleigh quotient converges to the eigenvalue. The error shrinks by…

Algorithms, NumericalLeave a comment

How Newton’s method updates a root by the tangent

November 13, 2026By HoHo Zhao

Short answer: Newton’s method solves f(x) = 0 by replacing the current guess x with x − f(x)/f'(x), the root of the tangent line. When f is smooth, f’ is nonzero at a simple root, and the guess is close enough, the error squares at every iteration. That quadratic…

Algorithms, NumericalLeave a comment

How Kahan summation keeps a running correction

November 13, 2026By HoHo Zhao

Short answer: Kahan summation adds a sequence of floating-point numbers while keeping a correction for the low bits the last addition lost. Each step subtracts the running correction from the next input, adds that adjusted value to the sum, and stores the bits that did not land in the…

Algorithms, NumericalLeave a comment

How conjugate gradient solves a symmetric positive system

November 13, 2026By HoHo Zhao

Short answer: Conjugate gradient solves Ax = b when A is symmetric positive definite. It builds A-orthogonal search directions so that each new direction does not undo the minimization along earlier ones. In exact arithmetic it reaches the solution in at most n steps for an n by n…

Algorithms, NumericalLeave a comment
  • Algorithms
  • Arithmetic
  • Authelia
  • Clustering
  • Coding
  • Compression
  • Cryptography
  • CSS
  • Distributed Systems
  • Docker
  • Dynamic Programming
  • Exact Algorithms
  • Games
  • Geometry
  • Grafana
  • Graphs
  • Greedy
  • Heaps
  • Homelab
  • IPsec
  • LDAP
  • Linear Algebra
  • Logging
  • Loki
  • nginx
  • Number Theory
  • Numerical
  • Optimization
  • Parsing
  • Prometheus
  • Randomization
  • Range Queries
  • Sampling
  • Scheduling
  • Search
  • Searching
  • Sequences
  • Sketches
  • Sorting
  • Streams
  • Strings
  • SVG
  • Synchronization
  • Systems
  • Transforms
  • Trees

Docker EAP-MSCHAPv2 FreeRADIUS Grafana gzip IKEv2 IPsec LogQL Loki OpenLDAP Promtail StrongSwan

© 2026 LUDA · 學思辨行. Powered by WordPress.