mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Add simple example on how to compute Cholesky decomposition.
This commit is contained in:
@@ -144,6 +144,9 @@ You need an eigendecomposition here, see available such decompositions on \ref T
|
||||
Make sure to check if your matrix is self-adjoint, as is often the case in these problems. Here's an example using
|
||||
SelfAdjointEigenSolver, it could easily be adapted to general matrices using EigenSolver or ComplexEigenSolver.
|
||||
|
||||
The computation of eigenvalues and eigenvectors does not necessarily converge, but such failure to converge is
|
||||
very rare. The call to info() is to check for this possibility.
|
||||
|
||||
<table class="example">
|
||||
<tr><th>Example:</th><th>Output:</th></tr>
|
||||
<tr>
|
||||
|
||||
Reference in New Issue
Block a user