摘要: 在调用UMFPACK的过程中,只需要关心Ap Ai Ax的产生,实现其过程分为下面两种方法:(1)通过Eigen库,先让矩阵A以稀疏矩阵格式存储(知道矩阵A的非零元素的分布)View Code //#include <Eigen/Eigen>#include <Eigen/Sparse>//#include <umfpack.h>//#include <Eigen/src/UmfPackSupport/UmfPackSupport.h>//注意:只有debug版本调试//参考资料:科学计算中的偏微分方程有限差分法 张文生 高等教育出版社// 4. 阅读全文
posted @ 2013-03-14 10:20 liang_l 阅读(1291) 评论(0) 推荐(0) 编辑