Go to the documentation of this file.
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 ); \
67 C.reserve(VectorXi::Constant(
C.outerSize(), 2));
A versatible sparse matrix representation.
Matrix< SCALARB, Dynamic, Dynamic, opt_B > B
Expression of a fixed-size or dynamic-size block.
static long int nb_temporaries
#define VERIFY_IS_EQUAL(a, b)
EIGEN_DONT_INLINE void call_ref_1(Ref< SparseMatrix< float > > a, const B &b)
EIGEN_DONT_INLINE void call_ref_4(Ref< SparseVector< float > > a, const B &b)
#define VERIFY_EVALUATION_COUNT(XPR, N)
EIGEN_DONT_INLINE void call_ref_5(const Ref< const SparseVector< float > > &a, const B &b)
Matrix< SCALARA, Dynamic, Dynamic, opt_A > A
#define CALL_SUBTEST_3(FUNC)
#define CALL_SUBTEST_1(FUNC)
const unsigned int LvalueBit
@ StandardCompressedFormat
EIGEN_DONT_INLINE void call_ref_2(const Ref< const SparseMatrix< float > > &a, const B &b)
#define CALL_SUBTEST_2(FUNC)
#define VERIFY_IS_APPROX(a, b)
A matrix or vector expression mapping an existing expression.
Matrix< Scalar, Dynamic, Dynamic > C
void check_const_correctness(const PlainObjectType &)
EIGEN_DONT_INLINE void call_ref_3(const Ref< const SparseMatrix< float >, StandardCompressedFormat > &a, const B &b)
EIGEN_DECLARE_TEST(sparse_ref)
void on_temporary_creation()
#define EIGEN_DONT_INLINE
gtsam
Author(s):
autogenerated on Fri Nov 1 2024 03:35:33