如何在本征中使用不完全LU分解

How to use incomplete LU factorization in Eigen?

本文关键字:用不完 不完全 LU 分解      更新时间:2023-10-16

我已经阅读了IncompleteLUT的文档

在这里显示细节:

  • struct    keep_diag
    

  • Public Member Functions

    template< typename MatrixType >
    IncompleteLUT< Scalar > & compute (const MatrixType &amat)
              ComputationInfo info () const`
                         void setDroptol (const RealScalar &droptol)`
                         void setFillfactor (int fillfactor)`
    

但是我很困惑如何使用这种方法来得到结果矩阵不完全LU分解。谢谢你!

开发分支中的文档更清晰一些。

这个类遵循稀疏求解器的概念。

https://eigen.tuxfamily.org/dox-devel/classEigen_1_1IncompleteLUT.html

IncompleteLUT遵循稀疏求解器的概念。所有稀疏求解器都具有与链接教程中所示的相同界面。基本上,您只需要将SolverClassName替换为所需的求解器名称,在本例中为IncompleteLUT

https://eigen.tuxfamily.org/dox-devel/group__TopicSparseSystems.html TutorialSparseSolverConcept