10 #ifndef EIGEN_SPARSE_FUZZY_H 11 #define EIGEN_SPARSE_FUZZY_H 15 template<
typename Derived>
16 template<
typename OtherDerived>
24 return (actualA - actualB).
squaredNorm() <= prec * prec * numext::mini(actualA.squaredNorm(), actualB.squaredNorm());
29 #endif // EIGEN_SPARSE_FUZZY_H RealScalar squaredNorm() const
A versatible sparse matrix representation.
Base class of any sparse matrices or sparse expressions.
bool isApprox(const SparseMatrixBase< OtherDerived > &other, const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const
const Derived & derived() const
NumTraits< Scalar >::Real RealScalar