Template Function fuse_core::isSymmetric
Defined in File eigen.hpp
Function Documentation
-
template<typename Derived>
bool fuse_core::isSymmetric(const Eigen::DenseBase<Derived> &m, const typename Eigen::DenseBase<Derived>::RealScalar precision = Eigen::NumTraits<typename Eigen::DenseBase<Derived>::Scalar>::dummy_precision()) Check if a matrix is symmetric.
- Parameters:
m – [in] - Square matrix to check symmetry on
precision – [in] - Precision used to compared the matrix m with its transpose, which is the property used to check for symmetry.
- Returns:
True if the matrix m is symmetric; False, otherwise.