Function croaring_sys::roaring64_bitmap_jaccard_index

source ยท
pub unsafe extern "C" fn roaring64_bitmap_jaccard_index(
    r1: *const roaring64_bitmap_t,
    r2: *const roaring64_bitmap_t
) -> f64
Expand description

Computes the Jaccard index between two bitmaps. (Also known as the Tanimoto distance, or the Jaccard similarity coefficient)

The Jaccard index is undefined if both bitmaps are empty.