Skip to content

num::low_rank_difference

Defined in header <linear/factorization/woodbury.hpp>

low_rank_update low_rank_difference(const spmat &base, const spmat &current,
                                    view<const idx> changed);

Write the difference of two matrices as a low-rank product: \(B - A = P Q^T\), rank \(\le 2k\) for \(k\) changed rows and columns.