For a nonsingular lower or upper triangular square matrix $A$, how to solve such linear system in Eigen:
$$A x = b$$
Computational Science Stack Exchange is a question and answer site for scientists using computers to solve scientific problems. It only takes a minute to sign up.
Sign up to join this communityAs documented here:
x = A.triangularView<Upper>().solve(b);
or
x = A.triangularView<Lower>().solve(b);
Eigen
related questions!
$\endgroup$
Feb 10, 2014 at 9:49