简体   繁体   English

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

[英]How to use incomplete LU factorization in Eigen?

I have read the docs of IncompleteLUT 我已经阅读了IncompleteLUT文档

And show the detail here: 并在此处显示详细信息:

  • Classes 班级

     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)` 

But I am puzzling how to use the method to get the result matrix of incomplete LU factorization. 但是我很困惑如何使用该方法来获得不完全LU分解的结果矩阵。 Thank you! 谢谢!

The document in development branch is a little bit more clear. 开发分支中的文档更加清晰。

This class follows the sparse solver concept . 此类遵循稀疏求解器的概念。

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

The class IncompleteLUT follows the concept of Sparse Solver. IncompleteLUT类遵循稀疏求解器的概念。 All Sparse Solvers have the same interface as shown in the linked tutorial. 所有稀疏解算器具有与链接教程中所示相同的界面。 Basically you only need to replace the SolverClassName with the desired solver name , in this case IncompleteLUT . 基本上,您只需要将SolverClassName替换为所需的求解器名称,在这种情况下为IncompleteLUT

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM