Programmer Guide/SPU Reference/STAT: Difference between revisions
From STX Wiki
Jump to navigationJump to search
(initial import) |
m (1 revision: Initial import) |
(No difference)
|
Revision as of 17:31, 18 November 2010
STAT - mean and std.deviation
Usage:
STAT a
Inputs:
a | number or vector |
Outputs:
my | average of a (number) |
sigma | standard deviation of a (number) |
Function:
Compute average and standard deviation of input a.
If a is a number:
If a is a vector with n elements: