Icon

rolling_average

csanyk

You must be logged in to obtain assets

Description

This extension provides scripts for calculating a rolling average of a series of N values. Very easy to use, it tracks all of the math for you. Coded in 100% GML for easy compatibility with all build targets.

Includes the following functions:

  • rolling_mean_create()
  • rolling_mean_destroy()
  • rolling_mean_add()
  • rolling_mean_read()
  • rolling_mean_size()
  • rolling_mean_resize()

Beautifully coded, fully tested.

Full Documentation

End User Licence Agreement (EULA).

Age Rating: 4+

Version

GMS1 - Version 1.0.0. Published December 19, 2016

initial release

Rolling Average provides a set of 100% GML functions for calculating the arithmetic mean of the last N values in a series or steam of numeric values. The values are tracked and calculated automatically by these functions:

  • rolling_mean_create()
  • rolling_mean_destroy()
  • rolling_mean_add()
  • rolling_mean_read()
  • rolling_mean_size()
  • rolling_mean_resize()
Loading, please wait

Package contents

Loading, please wait

What is the issue?

Loading, please wait