Demystifying Sigma Notation for Programmers

Tomas Vykruta
1 min readJun 6, 2019

--

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

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Tomas Vykruta
Tomas Vykruta

Written by Tomas Vykruta

CEO/Co-Founder of EvolutionIQ (previously: Artificial Intelligence research/development at Google)

Responses (1)

Write a response