Skip to main content

try_ncd_matrix_bytes_backend

Function try_ncd_matrix_bytes_backend 

Source
pub fn try_ncd_matrix_bytes_backend(
    datas: &[Vec<u8>],
    backend: &CompiledCompressionBackend,
    variant: NcdVariant,
) -> InfotheoryResult<Vec<f64>>
Expand description

Compute an n x n pairwise NCD matrix (row-major) with an explicit compression backend.

out[i * n + j] corresponds to NCD(datas[i], datas[j]).