Virtual Testbed
Ship dynamics simulator for extreme conditions
|
Public Member Functions | |
Lower_triangular_matrix_ldlt< T > | cholesky_indefinite () const |
Vector< T > | eigen_values (T eps, int nsweeps) const |
Compute eigen values. More... | |
![]() | |
Matrix (base_type rhs) | |
bool | is_square () const |
bool | is_symmetric () const |
bool | is_symmetric (T eps) const |
bool | is_positive_definite () const |
bool | is_toeplitz () const |
bool | is_toeplitz (T eps) const |
Square_matrix< T > | inverse () const |
Square_matrix< T > & | inverse_self () |
Matrix< T > | transpose () const |
void | transpose_self () |
Definition at line 179 of file linear_algebra.hh.
auto vtb::linalg::Symmetric_matrix< T >::eigen_values | ( | T | eps, |
int | nsweeps | ||
) | const |
Compute eigen values.
Find \(a_{ij}\) with the greatest absolute value that do not lie on the diagonal.
Find sine and cosine by solving \(t^2 + 2\omega t - 1 = 0\), where \(\omega = (a_jj - a_ii) / 2a_ij\).
Rotate matrix.
Definition at line 159 of file linear_algebra.cc.