A 'sum' is a sequence of terms joined by addition.
A 'product' is a sequence of terms joined by multiplication.
Is there a general term for terms joined by a general associative operation, that mathematicians would know? Is it 'sequence'?
In Haskell this would be implemented as a fold, but what do you call the thing it acts on? 'Iterable' and 'Enumerable' are too computer-sciencey.
It's possible this question has no good answer.
@christianp I'd probably argue that "product" has a more general meaning in mathematics, even at school level (A level anyway). https://en.wikipedia.org/wiki/Product_(mathematics)#Products_in_linear_algebra
More abstractly, associativity holds for semigroups and people talk about products there, too.
@pkra I didn't know you had maths A level!
Yes, 'doing sums' is often used to mean any calculation.
@christianp indeed, I do. Good to know that my British English is not completely out of date (yet).
A Mastodon instance for maths people. The kind of people who make \(\pi z^2 \times a\) jokes.
\) for inline LaTeX, and
\] for display mode.