Demystifying Sigma Notation for Programmers
Are you a data scientist or programmer whose eyes hurt when reading academic papers with gross overuse of ugly Sigma notation, and even uglier Greek letters derived from an ancient language deprecated in 800 BC?
Sigma notation is a For Loop
No need to panic. Sigma notation is literally.. a FOR loop. The super advanced sigma notation is.. a nested FOR loop. The Greek letters are just variable names.
Rewrite it as code instead
Rewrite the Sigma notation into 2 or 3 lines of code, replace Greek letters with meaningful English variable names and you’ll be right at home. This Khan Academy article has great exercises. https://lnkd.in/d-kPY69