Skip to main content

normal_equations

Function normal_equations 

Source
pub fn normal_equations(
    a: &Array2<f64>,
    b: &Array1<f64>,
) -> Result<Array1<f64>, Error>
Expand description

Solves the normal equations AᵀA x = Aᵀb with Cholesky: L y = Aᵀb, then Lᵀ x = y.