Skip to main content

optimal_ell_row_width

Function optimal_ell_row_width 

Source
pub fn optimal_ell_row_width(nnz_distribution: &[usize]) -> usize
Expand description

Choose the ELLPACK row width (max non-zeros per row) to minimize padding waste.

Uses the 75th-percentile of the per-row nnz distribution.