prod
builtin · libnexusinterp/corefcn/data-proprietary.cc
- :
p = prod (a) ¶
- :
p = prod (a, dim) ¶
- :
p = prod (a, vecdim) ¶
- :
p = prod (a, "all") ¶
- :
p = prod (…, outtype) ¶
- :
p = prod (…, nanflag) ¶
Product of elements; the options are those of sum.
outtype is "default", "double" or "native";
with "native" integer products saturate in their own class.