add statistics module

provides some basic statistics functions (sum, mean, etc.)
and a function to return the parameters of the linear regression of
two variables

implemented using num_traits to be more flexible for the types

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak
2020-06-09 10:01:12 +02:00
committed by Dietmar Maurer
parent 6cad8ce4ce
commit ba97479848
4 changed files with 126 additions and 0 deletions

View File

@ -5,6 +5,7 @@ pub mod config;
pub mod node;
pub mod reader;
mod subscription;
pub mod status;
pub mod types;
pub mod version;
pub mod pull;