Find the running average of a stream of numbers
bang | Sends out the previous output (the stored average value). | |
int | input [int] |
The number is added to the sum of all numbers received up to that point, and the mean is sent out. |
float | input [float] |
The number is added to the sum of all numbers received up to that point, and the mean is sent out. |
list | input [list] |
The numbers in the list are added together, the sum is divided by the number of items in the list, and the mean is sent out. All previously received numbers are cleared from memory. |
clear | Resets the contents of the object to zero. |