Skip to main content

try_ncd_matrix_bytes_default

Function try_ncd_matrix_bytes_default 

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

Compute an n x n pairwise NCD matrix (row-major) using the thread-local default context.

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