Tomographer
v5.4
Tomographer C++ Framework Documentation
|
Tools for dealing with positive semidefinite matrices. More...
Go to the source code of this file.
Namespaces | |
Tomographer | |
Base namespace for the Tomographer project. | |
Tomographer::MathTools | |
General math routines. | |
Functions | |
template<typename VectorType > | |
void | Tomographer::MathTools::forcePosVecKeepSum (Eigen::Ref< VectorType > vec, const typename Eigen::NumTraits< typename VectorType::Scalar >::Real tolerance=1e-8) |
Make sure that the given vector is numerically positive. More... | |
template<typename MatrixType , typename Der > | |
MatrixType | Tomographer::MathTools::forcePosSemiDef (const Eigen::MatrixBase< Der > &rho, const typename Eigen::NumTraits< typename MatrixType::Scalar >::Real tolerance=1e-8) |
Make sure that rho is numerically positive semidefinite. More... | |
template<typename MatrixType > | |
MatrixType | Tomographer::MathTools::safeOperatorSqrt (const Eigen::Ref< const MatrixType > &A, const typename Eigen::NumTraits< typename MatrixType::Scalar >::Real tolerance=1e-8) |
Safe version of operator square root for positive semidefinite matrices. More... | |
template<typename MatrixType > | |
MatrixType | Tomographer::MathTools::safeOperatorInvSqrt (const Eigen::Ref< const MatrixType > &A, const typename Eigen::NumTraits< typename MatrixType::Scalar >::Real tolerance=1e-8) |
Safe version of operator inverse square root for positive semidefinite matrices. More... | |
Tools for dealing with positive semidefinite matrices.
Definition in file pos_semidef_util.h.