MOAB
4.9.3pre
|
#include <Fuzzy.h>
Static Public Member Functions | |
static EIGEN_DEVICE_FUNC bool | run (const Derived &x, const OtherDerived &y, const typename Derived::RealScalar &prec) |
static EIGEN_DEVICE_FUNC bool Eigen::internal::isApprox_selector< Derived, OtherDerived, is_integer >::run | ( | const Derived & | x, |
const OtherDerived & | y, | ||
const typename Derived::RealScalar & | prec | ||
) | [inline, static] |
Definition at line 23 of file Fuzzy.h.
{ typename internal::nested_eval<Derived,2>::type nested(x); typename internal::nested_eval<OtherDerived,2>::type otherNested(y); return (nested - otherNested).cwiseAbs2().sum() <= prec * prec * numext::mini(nested.cwiseAbs2().sum(), otherNested.cwiseAbs2().sum()); }