Template Function fuse_core::isPositiveDefinite

Function Documentation

template<typename Derived>
bool fuse_core::isPositiveDefinite(const Eigen::DenseBase<Derived> &m)

Check if a matrix is Positive Definite (PD), i.e. all eigenvalues are > 0.0.

Parameters:

m[in] - Square matrix to check PD-ness on.

Returns:

True if the matrix m is PD; False, otherwise.