11 #ifdef EIGEN_DEFAULT_TO_ROW_MAJOR 12 #undef EIGEN_DEFAULT_TO_ROW_MAJOR 22 #define EIGEN_SPARSE_CREATE_TEMPORARY_PLUGIN { on_temporary_creation(); } 25 #include <Eigen/SparseCore> 27 #define VERIFY_EVALUATION_COUNT(XPR,N) {\ 29 CALL_SUBTEST( XPR ); \ 30 if(nb_temporaries!=N) std::cerr << "nb_temporaries == " << nb_temporaries << "\n"; \ 31 VERIFY( (#XPR) && nb_temporaries==N ); \ Matrix< SCALARB, Dynamic, Dynamic, opt_B > B
bool isCompressed() const
void on_temporary_creation()
EIGEN_DONT_INLINE void call_ref_4(Ref< SparseVector< float > > a, const B &b)
static long int nb_temporaries
EIGEN_DONT_INLINE void call_ref_1(Ref< SparseMatrix< float > > a, const B &b)
A versatible sparse matrix representation.
#define CALL_SUBTEST_3(FUNC)
Expression of the transpose of a matrix.
EIGEN_DONT_INLINE void call_ref_5(const Ref< const SparseVector< float > > &a, const B &b)
const unsigned int LvalueBit
#define VERIFY_EVALUATION_COUNT(XPR, N)
Matrix< SCALARA, Dynamic, Dynamic, opt_A > A
#define EIGEN_DONT_INLINE
#define VERIFY_IS_APPROX(a, b)
#define VERIFY_IS_EQUAL(a, b)
#define CALL_SUBTEST_1(FUNC)
EIGEN_DONT_INLINE void call_ref_2(const Ref< const SparseMatrix< float > > &a, const B &b)
TransposeReturnType transpose()
Matrix< Scalar, Dynamic, Dynamic > C
A matrix or vector expression mapping an existing expression.
EIGEN_DONT_INLINE void call_ref_3(const Ref< const SparseMatrix< float >, StandardCompressedFormat > &a, const B &b)
Expression of a fixed-size or dynamic-size block.
void reserve(Index reserveSize)
#define CALL_SUBTEST_2(FUNC)
void check_const_correctness(const PlainObjectType &)
EIGEN_DECLARE_TEST(sparse_ref)