Product

Node Icon

Reduce a numeric array using the product over all dimensions (reducing the array to a number, i.e. sum of all voxels), a dimension.

Inputs

Input

Input Numeric Array(s)

Type: Numeric Array, List, Required, Single

Outputs

Output

Output.

Type: Numeric Array, List

Settings

Projection Along Selection

Select over which dimension to reduce, All will reduce the array to a number, or choose a Dimension.

Values: All, Dimension

Dimension Integer

Specify which dimension to reduce over.

Keep Dimension Boolean

If selected, the dimension which was reduced will be kept as a singleton dimension. E.g. if you have a numeric array with dimensions [i, j, k, c] and select Keep Dimension, the output will be [i, j, k, 1], otherwise it will be [i, j, k].

See also

Keywords: