MCPcopy Create free account
hub / github.com/TUC-ProAut/libRSF / IsPositiveSemidefinite

Function IsPositiveSemidefinite

include/VectorMath.h:129–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127 /** test matrix against semi-definitiveness */
128 template <int Dim>
129 bool IsPositiveSemidefinite(MatrixStatic<Dim, Dim> Mat)
130 {
131 Eigen::LDLT<MatrixStatic<Dim, Dim>> CholeskyOfSqrtInfo(Mat);
132 return (CholeskyOfSqrtInfo.info() != Eigen::NumericalIssue);
133 }
134
135 void RemoveColumn (Matrix& Matrix, int ColToRemove);
136

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected