Elektrine lite

← Feed

@Ambraven@social.mochi.academy

Post #1872328

2026-04-30 15:12 UTC

How can I do FullPivHouseholderQR form Eigen with nalgebra in rust ? I'm trying omething like this but nalgebra doesn't like dynamic matrix size... let mat_a: Matrix3xX<f64> = ...; let vec_b: DVector<f64> = ...; let vec_x = mat_a .transpose() .qr() .solve(&vec_b) .ok_or("Can't solve qr decomposition")?; it works with Martix3, but I need to do it with any number of rows... And of course I'm not even sure I did the whole operation. Pretty sure I miss the FullPivHousehoder part. (Yeah I know, I'm all over the place... ) #rustlang #cpp #nalgebra #eigen

Replies (0)

No replies.