doc and tests fixup

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller
2021-07-19 13:00:16 +02:00
parent 2b7f8dd5ea
commit a3399f4337
5 changed files with 26 additions and 8 deletions

View File

@ -79,8 +79,8 @@ where
Some(covariance/(len_x as f64))
}
/// Returns the factors (a,b) of a linear regression y = a + bx
/// for the variables [x,y] or None if the lists are not the same length
/// Returns the factors `(a,b)` of a linear regression `y = a + bx`
/// for the variables `[x,y]` or `None` if the lists are not the same length
/// ```
/// # use proxmox_backup::tools::statistics::linear_regression;
///