PRODUCT
8.196 PRODUCT
— Product of array elements
- Description:
- Multiplies the elements of ARRAY along dimension DIM if the corresponding element in MASK is
TRUE
. - Standard:
- Fortran 95 and later
- Class:
- Transformational function
- Syntax:
-
RESULT = PRODUCT(ARRAY[, MASK])
RESULT = PRODUCT(ARRAY, DIM[, MASK])
- Arguments:
-
ARRAY Shall be an array of type INTEGER
,REAL
orCOMPLEX
.DIM (Optiona