CASTI-89 TITANIUM · CALC89
product(
Returns the product of the elements of a list.
Syntax
product(list[, start[, end]])
- Group
- List
- Arguments
- Takes the list and optional start and end positions to use only part of it.
- Availability
- Included
Example
| Input | Result |
|---|---|
| product({2,3,4}) | 24 |
Typing product({2,3,4}) on the home screen and pressing ENTER returns 24.
Related commands
- seq(Builds a list by evaluating an expression as a variable runs from a low to a high value.
- SortASorts a list variable in ascending order and stores the result back in the variable.
- SortDSorts a list variable in descending order and stores the result back in the variable.
- sum(Returns the sum of the elements of a list.
- cumSum(Returns a list of the running totals of a list's elements.
- deltaList(Returns a list of the differences between consecutive elements of a list.