Skip to main content

pairs_within_count

Function pairs_within_count 

Source
pub fn pairs_within_count(
    xyz: &[[f64; 3]],
    simbox: &Cell,
    cutoff: f64,
    mask: Option<&[bool]>,
    cell_hint: Option<f64>,
    half: bool,
) -> Result<usize, Error>
Expand description

How many rows pairs_within would write, without writing them.

The tile still plans the bins and tests every candidate. It does not store a Pair row, so the time is the search rather than the row stream. The count matches pairs_within(...).len() for the same arguments.