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());
Base class of any sparse matrices or sparse expressions.
Definition: SparseMatrixBase.h:28
bool isApprox(const SparseMatrixBase< OtherDerived > &other, const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const
Definition: SparseFuzzy.h:17
const Derived & derived() const
Definition: SparseMatrixBase.h:143
NumTraits< Scalar >::Real RealScalar
Definition: SparseMatrixBase.h:128
A versatible sparse matrix representation.
Definition: SparseMatrix.h:98
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE T mini(const T &x, const T &y)
Definition: MathFunctions.h:1083
Namespace containing all symbols from the Eigen library.
Definition: LDLT.h:16
type
The type the bitset is encoded with.
Definition: bitset.hpp:44