Virtual Testbed
Ship dynamics simulator for extreme conditions
|
Public Member Functions | |
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 51 of file linear_algebra.hh.
bool Matrix::is_positive_definite | ( | ) | const |
Check if the matrix is positive definite using Cholesky decomposition. There is no check for symmetry.
Definition at line 26 of file linear_algebra.cc.