Skip to main content

build_weighted_laplacian

Function build_weighted_laplacian 

Source
pub fn build_weighted_laplacian(a: &CsMat<f64>, w: &[f64]) -> CsMat<f64>
Expand description

L = A diag(w) Aᵀ (n×n). With w = b this is the DC Laplacian; with w = b²·θ_f⁻¹ it is the reweighted Laplacian L₁ from the KKT system.