如何在本征中使用不完全LU分解
How to use incomplete LU factorization in Eigen?
我已经阅读了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
相关文章:
- 用callgrind追踪不必要的副本
- 使用 switch,但我想用字符串而不是 int 进行选择
- 用c++排序,不带数组
- 内存浪费?如果main()应该只返回0或1,那么为什么main是用int而不是短int甚至char声明的
- 用Xcb而不是Xlib抓取像素的颜色
- 2D 矢量数组用零而不是双精度值填充
- POSIX 信号量在高争用/负载下不起作用
- 我用堆栈找不到前缀号的和
- 为什么_largefile_source在用G 编译而不是GCC中定义了stdio.h
- 用地址而不是数字填充队列
- 常量工会成员有什么用?他们不是毫无意义吗?
- 用 c++ 编译但不在 c (gcc) 中编译时很复杂
- 这种编译器优化不一致是否完全由未定义的行为来解释
- 为什么我会用push_back而不是emplace_back
- 为什么按位移位在这里用 1s 而不是 0 替换日期
- 为什么不能在完全专业化中引入新的模板参数?
- 为什么模板试图用'int&'而不是"int"进行实例化?
- 如何创建内容不透明的完全透明的窗口
- 我可以用cout而不是迭代器循环打印STL映射吗?
- 尝试用宽度(而不是高度)缩放OpenGL程序