Avg (LogiX node)
Jump to navigation
Jump to search
Avg | ||
---|---|---|
Inputs | ||
Float | A | |
Float | B | |
Outputs | ||
Float | * |
The Avg node takes an arbitrary number of input values and outputs the average (AKA the 'mean') of all of those values.
The average of the inputs is defined as the sum of the inputs, divided by the number of inputs.
Usage
When spawned from the node browser, this node accepts float data by default. However, this node can be overloaded to accept a wide variety of numeric datatypes if an appropriate wire is connected to the input. The datatype must support decimal places due to the nature of the function.