Programmer Guide/SPU Reference/STAT: Difference between revisions
From STX Wiki
Jump to navigationJump to search
m (1 revision: Initial import) |
|
(No difference)
|
Revision as of 11:14, 28 April 2011
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: