#include <Eigen/Cholesky>
#include <Eigen/Core>
#include <type_traits>
Go to the source code of this file.
Namespaces | |
corbo | |
Functions | |
template<typename Derived > | |
double | corbo::compute_condition_number (const Eigen::MatrixBase< Derived > &matrix) |
Compute condition number of matrix using SVD. More... | |
template<typename Derived > | |
double | corbo::compute_condition_number_square_matrix (const Eigen::MatrixBase< Derived > &matrix) |
Compute condition number of a square matrix using the EigenvaluesThis method computes the eigenvalues and returns abs(eig_max / eig_min). For a version based on the SVD refer to compute_condition_number() More... | |
template<typename Derived > | |
void | corbo::compute_pseudo_inverse (const Eigen::MatrixBase< Derived > &matrix, Eigen::MatrixBase< Derived > &pinvmat, double tolerance=1e-6) |
Compute the pseudo inverse using SVD. More... | |
template<typename DerivedA , typename DerivedB > | |
bool | corbo::have_equal_size (const Eigen::MatrixBase< DerivedA > &matrix1, const Eigen::MatrixBase< DerivedB > &matrix2) |
Determine if two matrices exhibit equal sizes/dimensions. More... | |
template<typename DerivedA , typename DerivedB , typename... Derived> | |
bool | corbo::have_equal_size (const Eigen::MatrixBase< DerivedA > &matrix1, const Eigen::MatrixBase< DerivedB > &matrix2, const Eigen::MatrixBase< Derived > &... matrices_other) |
Determine if N matrices exhibit equal sizes/dimensions. More... | |
template<typename Derived > | |
bool | corbo::is_positive_definite (const Eigen::MatrixBase< Derived > &matrix) |
Determine if a given matrix is positive definiteThe current implementation performs Eigen's Cholesky decomposition in order to test whether the given matrix appears to be positive definite. More... | |
template<typename Derived > | |
bool | corbo::is_square (const Eigen::MatrixBase< Derived > &matrix) |
Determine if a given matrix is square. More... | |
bool | corbo::is_square (int numel) |
Determine if a given number of elements defines a square matrix. More... | |