Navigation :
Envision Tutorials
Envision Explanation
Envision How-To Guides
Lokad Platform
Envision Reference
- Glossary
- Platform overview
- List of icons
-
_
-
A-B-C
-
D-E-F
-
G-H-I
-
J-K-L
-
M-N-O
-
P-Q-R
-- padLeft
-- params
-- parseDate
-- parseNumber
-- parseTime
-- partition
-- partitioned
-- path
-- percent
-- percentile
-- piechart
-- plot
-- poisson
-- popCount
-- previewUrl
-- pricebrk.f
-- pricebrk.m
-- printTime
-- priopack
-- process
-- product
-- pure
-- quantile
-- quarter
-- random
-- random.binomial
-- random.integer
-- random.logLogistic
-- random.negativeBinomial
-- random.normal
-- random.poisson
-- random.ranvar
-- random.shuffle
-- random.uniform
-- randomness
-- rank
-- rankd
-- ranvar
-- ranvar.buckets
-- ranvar.periodicr
-- ranvar.segment
-- ranvar.uniform
-- ranvars and zedfuncs
-- ratio
-- read
-- region
-- regularizationTerm
-- replace
-- return
-- rgb
-- rot13
-- round
-- roundNext
-
S-T-U
-
V-W-X
-
Y-Z
Envision Gallery
Envision Specifications
Envision Language
Legacy
product
product, function
def autodiff process product(a: number): number
Returns the product of the grouped numbers in a.
a: the numbers to multiply.
Example
table T = with
[| as A, as G |]
[| 2, "a" |]
[| 3, "a" |]
[| 2, "b" |]
[| 0, "b" |]
table G[gdim] = by T.G
show table "Product by group" with
gdim
product(T.A) as "Product"
group by gdim
This outputs the following table:
The aggregator returns 1 on empty groups.
See also