NSUMSUMSQ


gts
Since v1.0.0
Available on all platforms

Computes the cardinality, sum of values and sum of squared values of a Geo Time Series™. Pushes those results on the stack in the order they were mentioned.

Only numeric series are allowed.

Signature

Examples

NEWGTS 100 NaN NaN NaN 10 ADDVALUE 200 NaN NaN NaN 9 ADDVALUE 300 NaN NaN NaN 8 ADDVALUE 400 NaN NaN NaN 7 ADDVALUE 500 NaN NaN NaN 6 ADDVALUE NSUMSUMSQ