pub fn auto_detect_sparsity<F, S>(
fun: F,
x: &ArrayView1<'_, f64>,
num_samples: Option<usize>,
threshold: Option<f64>,
) -> Result<CsrArray<f64>, OptimizeError>
Expand description
Auto-detect sparsity pattern by evaluating the function at multiple points