next | previous | forward | backward | up | top | index | toc | Macaulay2 website
Macaulay2Doc :: product(Set)

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, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47}

o1 : Set
i2 : product a

o2 = 614889782588491410

See also