Skip to main content

tvd_bytes

Function tvd_bytes 

Source
pub fn tvd_bytes(x: &[u8], y: &[u8]) -> f64
Expand description

Total variation distance between the byte distributions of x and y.

TVD is an empirical, order-0 quantity by construction.