Registered Member
|
I'm trying to use Eigen::LLT to solve H*x=b, this is code:
I'm very sure that diff_norm is zero, so A_adj is symmetric. The lltf_l with _UpLo==Lower gives the result I expected, but lltf_u with _UpLo==Upper gives different result that is obvious wrong. Note that A_adj and b_adj's data type is float, and A_adj may has large condition number. what makes me confused is that: 1. why _UpLo==Lower and _UpLo==Upper have different results; 2. why _UpLo==Lower gives resonable result, but _UpLo==Upper not; sorry, i don't know how to upload txt attachment, if you need the data of A_adj and b_adj, i can give you through email. |
Registered users: Bing [Bot], Evergrowing, Google [Bot], rblackwell