|
consteig
Compile-time eigenvalue and eigenvector computation for C++17
|
Convenience class that computes both eigenvalues and eigenvectors. More...
#include <eigen.hpp>
Public Member Functions | |
| constexpr | EigenSolver (const Matrix< T, S, S > &mat) |
Compute eigenvalues and eigenvectors of mat. | |
| constexpr const Matrix< Complex< T >, S, 1 > & | eigenvalues () const |
| Return the S×1 eigenvalue column vector. | |
| constexpr const Matrix< Complex< T >, S, S > & | eigenvectors () const |
Return the S×S eigenvector matrix (column eig_col corresponds to eigenvalue eig_col). | |
Convenience class that computes both eigenvalues and eigenvectors.
Constructs both at initialization time. Prefer the free functions eigenvalues and eigenvectors when you only need one.
| T | Floating-point scalar type. |
| S | Matrix dimension. |