19 template<typename Derived, typename OtherDerived, bool is_integer = NumTraits<typename Derived::Scalar>::IsInteger>
27 return (
nested - otherNested).cwiseAbs2().sum() <= prec * prec *
numext::mini(
nested.cwiseAbs2().sum(), otherNested.cwiseAbs2().sum());
31 template<
typename Derived,
typename OtherDerived>
37 return x.matrix() ==
y.matrix();
41 template<typename Derived, typename OtherDerived, bool is_integer = NumTraits<typename Derived::Scalar>::IsInteger>
47 return x.cwiseAbs2().sum() <=
numext::abs2(prec) *
y.cwiseAbs2().sum();
51 template<
typename Derived,
typename OtherDerived>
57 return x.matrix() == Derived::Zero(
x.rows(),
x.cols()).matrix();
61 template<typename Derived, bool is_integer = NumTraits<typename Derived::Scalar>::IsInteger>
71 template<
typename Derived>
77 return x.matrix() == Derived::Zero(
x.rows(),
x.cols()).matrix();
101 template<
typename Derived>
102 template<
typename OtherDerived>
124 template<
typename Derived>
143 template<
typename Derived>
144 template<
typename OtherDerived>
155 #endif // EIGEN_FUZZY_H