Sliding-Window Summation Functions

No overview available.

Topics

Single-Vector Sliding-Window Summing

The functions in this group calculates a sliding-window sum for a vector.

static func slidingWindowSum<U>(U, usingWindowLength: Int) -> [Double]

Returns the double-precision sliding window sum of a vector.

static func slidingWindowSum<U>(U, usingWindowLength: Int) -> [Float]

Returns the single-precision sliding window sum of a vector.

static func slidingWindowSum<U, V>(U, usingWindowLength: Int, result: inout V)

Calculates the double-precision sliding window sum of a vector.

static func slidingWindowSum<U, V>(U, usingWindowLength: Int, result: inout V)

Calculates the single-precision sliding window sum of a vector.

func vDSP_vswsum(UnsafePointer<Float>, vDSP_Stride, UnsafeMutablePointer<Float>, vDSP_Stride, vDSP_Length, vDSP_Length)

Calculates the single-precision sliding window sum of a vector using specified stride.

func vDSP_vswsumD(UnsafePointer<Double>, vDSP_Stride, UnsafeMutablePointer<Double>, vDSP_Stride, vDSP_Length, vDSP_Length)

Calculates the double-precision sliding window sum of a vector using specified stride.

See Also

Single-Vector Sliding-Window Operations