tmsum2#

swordfish.function.tmsum2()#

Calculate the moving sum of squares of all elements of X in a sliding window.

参数:
  • T (Constant) -- A non-strictly increasing vector of temporal or integral type. It cannot contain null values.

  • X (Constant) -- A vector of the same size as T.

  • window (Constant) -- A scalar of positive integer or DURATION type indicating the size of the sliding window.

返回:

A vector of DOUBLE type.

返回类型:

Constant