Wilang Documentation1.0.0+4

prod#

Evaluate a symbolic finite product.

Available in: math cells, REPL.

Syntax#

prod(expression, index, low, high)
prod(array)

Arguments and behavior#

Use four arguments for the symbolic product: an expression, index variable, first index and last index. With an array it multiplies the entries, like the built-in array product. The example returns scalar (number).

Example#

Edit the inputs, then use Run or Reset. Changes stay in this example.

Example
prod("k","k",1,4)

Expected result: 24.

See also#

product · summation · sum · max · mean · min · median · std · variance

All functions · Math guides