renamed uncorrelation
This commit is contained in:
parent
f3766124ad
commit
dcc612fc98
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ impl Onod {
|
|||
|
||||
/// UnCorrelation randomness test
|
||||
/// Computes the Pearson correlation between the sequence and its shifted version, returning a p-value.
|
||||
pub fn un_correlation(input: &[u8]) -> (f64, f64, f64) {
|
||||
pub fn uncorrelation(input: &[u8]) -> (f64, f64, f64) {
|
||||
|
||||
let samples = input.iter().map(|&x| x as i32).collect::<Vec<i32>>();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue