next | previous | forward | backward | up | top | index | toc | home

product(Set) -- product of elements

Synopsis

Description

product v yields the product of the elements in the set v.
i1 : a = set select(1..50, isPrime)

o1 = set {2, 3, 5, 37, 7, 41, 43, 11, 13, 47, 17, 19, 23, 29, 31}

o1 : Set
i2 : product a

o2 = 614889782588491410

See also