Alias: null
Common Name: StreamMeanAndVariance
Class: org. imirsel. m2k. math. StreamMeanAndVariance

Overview: Calculates the means and variances of each element of an input stream of arrays.

Detailed Description: This module calculates means and variances of each element ina stream of input arrays. The means and variances can be either output when a null trigger is received, or after a certain number of input arrays have been processed. In the mode of operation where a specified number of input arrays determine whether or not to output, the presense of a null trigger will be passed to the output. Should there be trailing data prior to the null that does not meet the 'Number of Arrays to Output After' specification, the trailing input data will be dropped.

Data Handling: The input data is not modified.


Inputs:
Input Array
[D
DoubleArrayStream


Outputs:
Means
[D
Means (DoubleArray)


Variancess
[D
Variances(DoubleArray)



Properties:
Null Triggered
Sets whether the module outputs after a null trigger is received

Maintain Nulls when Null Triggered
Sets whether the nulls that trigger the outputting of the means and variances areoutput as well.

Number of Input Arrays to Output After
When Null Triggered is false, the means and variances of the input elements will be output after the specified number of input arrays have been received.