Asset - Extension Rolling Average

csanyk

Member
This is a free asset. It uses a ds_map and ds_queue to calculate a rolling average of a stream of up to N numeric values. It's easy to use with any project. Just add the extension to your project and use the new functions:
  • rolling_mean_create()
  • rolling_mean_destroy()
  • rolling_mean_add()
  • rolling_mean_read()
  • rolling_mean_size()
  • rolling_mean_resize()
Beautifully coded in 100% GML, should be compatible with all build targets.

Marketplace
Documentation
 
Top