Version

MovingSum Method (Series)

Calculates a moving sum over a sequence with a given period.
Syntax
public static IEnumerable<double> MovingSum( 
   IEnumerable<double> sequence,
   int period
)

Parameters

sequence
The sequence for which to calculate the moving sum.
period
The period to use for the calculation.

Return Value

The moving sum values.
Requirements

Target Platforms: Android 4.4+, iOS 8+

Development Environments: Visual Studio 2015+, Visual Studio for Mac Preview, Xamarin for Visual Studio 4.2+

See Also