Skip to content

Reduce Array

Ryan Porter edited this page Feb 12, 2017 · 1 revision

reduceArray

This node applies an accumulating function to the values of the input array and outputs a single value.

Attribute Name Description Attribute Type
input (i) Input values doubleArray
operation (op) The operation that will be applied to the input values. enum
output (o) Result of the operation. double
Operation Description
No Operation Output will be 0.0.
Sum Output will be the first value plus the remaining values.
Difference Output will be the first value minus the remaining values.
Average Output will be the average of the input values.
Product Output will be the first value times the remaining values.
Quotient Output will be the first value divided by the remaining values.
Exponent Output will be the first value raised to the remaining values.
Min Output will be the smallest value.
Max Output will be the largest value.
Length Output will be the number of values.
Clone this wiki locally