| 
    luasandbox
    1.4.0
    
   Generic Lua sandbox for dynamic data analysis 
   | 
 
Calculates the running count, sum, mean, variance, and standard deviation. More...
#include "util.h"
Go to the source code of this file.
Classes | |
| struct | lsb_running_stats | 
Typedefs | |
| typedef struct lsb_running_stats | lsb_running_stats | 
Functions | |
| LSB_UTIL_EXPORT void | lsb_init_running_stats (lsb_running_stats *s) | 
| Zeros out the stats counters.  More... | |
| LSB_UTIL_EXPORT void | lsb_update_running_stats (lsb_running_stats *s, double d) | 
| Value to add to the running stats.  More... | |
| LSB_UTIL_EXPORT double | lsb_sd_running_stats (lsb_running_stats *s) | 
| Return the standard deviation of the stats.  More... | |
Calculates the running count, sum, mean, variance, and standard deviation.
Definition in file running_stats.h.
| typedef struct lsb_running_stats lsb_running_stats | 
| LSB_UTIL_EXPORT void lsb_init_running_stats | ( | lsb_running_stats * | s | ) | 
Zeros out the stats counters.
| s | Stat structure to zero out | 
| LSB_UTIL_EXPORT double lsb_sd_running_stats | ( | lsb_running_stats * | s | ) | 
Return the standard deviation of the stats.
| s | Stat structure | 
| LSB_UTIL_EXPORT void lsb_update_running_stats | ( | lsb_running_stats * | s, | 
| double | d | ||
| ) | 
Value to add to the running stats.
| s | Stat structure | 
| d | Value to add | 
 1.8.11