this post was submitted on 16 Jul 2023
1678 points (96.6% liked)
Memes
45753 readers
1659 users here now
Rules:
- Be civil and nice.
- Try not to excessively repost, as a rule of thumb, wait at least 2 months to do it if you have to.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I don't know anything about the original post author, but product notation is the same as summation notation except that instead of adding each new term to the running total, you're multiplying each new term. You don't have to know programming to see from the code samples that the only difference in the code is
+=
vs*=
(well, maybe it would help to know that * means multiply; I honestly dont rember how common-knowledge that is).