Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
For a nonsingular lower or upper triangular square matrix $A$, how to solve such linear system in Eigen:
$$A x = b$$
As documented here:
x = A.triangularView<Upper>().solve(b);
x = A.triangularView<Lower>().solve(b);
Required, but never shown