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 ); \ 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.
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 > A
Matrix< SCALARB, Dynamic, Dynamic > B
#define EIGEN_DONT_INLINE
#define VERIFY_IS_APPROX(a, b)
#define VERIFY_IS_EQUAL(a, b)
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)
bool isCompressed() const
Expression of a fixed-size or dynamic-size block.
void reserve(Index reserveSize)
Expression of a diagonal/subdiagonal/superdiagonal in a matrix.
void check_const_correctness(const PlainObjectType &)