【DevSqrd_a】
[code]Inputs: DevSqrdArray[size](NumericArrayRef), VArraySize(Numeric);Variables: var0(0), var1(0);
If VArraySize <= size Then Begin
var0 = 0;
var1 = Average_a(DevSqrdArray, VArraySize);
For value1 = 1 To VArraySize Begin
var0 = var0 + Square(DevSqrdArray[value1] - var1);
End;
DevSqrd_a = var0;
End
Else
DevSqrd_a = -1;
[/code]
页:
[1]