ASAbulAsar S.inabulasar.com·2d ago · 15 min readSingular Value Decomposition: From the Math to C++ with EigenIntroduction Imagine a cinema recording how many tickets it sells for each film every day. The rows of its table are days, the columns are films, and each number is a ticket count. Suppose Film A sell32K
SRSukalyan Royinsukalyanroy.hashnode.dev·6d ago · 11 min readThe Number That Shouldn't ExistTL;DR Brahmagupta defined explicit arithmetic rules for zero in 628 CE, shifting it from a placeholder to a formal number. The combination of Aryabhata's positional notation and Brahmagupta's zero m01I
SRSukalyan Royinsukalyanroy.hashnode.dev·Sep 19 · 12 min readThe Algorithm That Grinds Problems to DustTL;DR Aryabhata's kuṭṭaka is the first known algorithm for solving linear indeterminate equations. It reduces large numbers with Euclidean division, then reverses those steps to recover an integer s01I
DEDavid Essienindavid-essien.hashnode.dev·Sep 19 · 11 min readWhat Math Actually Buys You: Optimizing a Rock-Paper-Scissors Game in CI was looking through my old projects and found a couple of Rock-Paper-Scissors games I wrote in C a few years back. Why more than one? Because programming is fun, but also because I was experimenting00
郭郭雪林intoolexo.hashnode.dev·Sep 16 · 6 min readPercentage Difference Between Two Measurements# Percentage Difference Between Two Measurements Two measurements can differ by 5 units, but that number alone does not tell you whether the gap is trivial or large. A 5 mm difference matters a lot 00
UUnknowninpowerlab.hashnode.dev·Sep 12 · 6 min readWhy Backup Generators Stall on Motor Startup: Modeling Locked Rotor Amps (LRA) and Non-Coincident Inrush Dynamics in TypeScriptDuring grid outages, residential backup systems often encounter an unexpected failure: a 10,000-watt generator stalls or trips its primary breaker the instant a 3,500-watt central air conditioner atte00
SStepOneinsteponeit.hashnode.dev·Sep 12 · 8 min readC# Generic Math: A Convex Hull with Static InterfacesStatic abstract interface members let a C# algorithm depend on operations instead of concrete numeric types. A convex-hull implementation is a good stress test: its coordinate type must support compar00
SRSukalyan Royinsukalyanroy.hashnode.dev·Sep 12 · 12 min readThe Poet Who Accidentally Invented Binary (Sort Of)TL;DR Piṅgala's prosody procedures enumerate every short-and-long syllable pattern in a structure equivalent to binary counting. Naṣṭa and uddiṣṭa convert between a pattern and its row without const01I
郭郭雪林intoolexo.hashnode.dev·Sep 12 · 6 min readHow to Average Percentages Without Ignoring Their Denominators# How to Average Percentages Without Ignoring Their Denominators A percentage is a ratio, not a standalone number. That sounds obvious, but it is the reason simple averages often produce misleading 00
SStepOneinsteponeit.hashnode.dev·Sep 11 · 23 min readGeneric Math in C#: The Complete GuideGeneric Math is easy to dismiss as a feature for numerical libraries. Its more important contribution is static abstraction: generic code can require operators, identities, parsing, and other type-lev00