this post was submitted on 16 Jul 2023
1730 points (99.7% liked)
Memes
45661 readers
1678 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).