#include "main.h"
Go to the source code of this file.
Defines | |
| #define | EIGEN_DENSE_STORAGE_CTOR_PLUGIN { on_temporary_creation(size); } |
| #define | VERIFY_EVALUATION_COUNT(XPR, N) |
Functions | |
| void | on_temporary_creation (int size) |
| template<typename MatrixType > | |
| void | product_notemporary (const MatrixType &m) |
| void | test_product_notemporary () |
Variables | |
| static int | nb_temporaries |
| #define EIGEN_DENSE_STORAGE_CTOR_PLUGIN { on_temporary_creation(size); } |
Definition at line 33 of file product_notemporary.cpp.
| #define VERIFY_EVALUATION_COUNT | ( | XPR, | |
| N | |||
| ) |
{\
nb_temporaries = 0; \
XPR; \
if(nb_temporaries!=N) std::cerr << "nb_temporaries == " << nb_temporaries << "\n"; \
VERIFY( (#XPR) && nb_temporaries==N ); \
}
Definition at line 37 of file product_notemporary.cpp.
| void on_temporary_creation | ( | int | size | ) |
Definition at line 27 of file product_notemporary.cpp.
| void product_notemporary | ( | const MatrixType & | m | ) |
Definition at line 44 of file product_notemporary.cpp.
| void test_product_notemporary | ( | ) |
Definition at line 140 of file product_notemporary.cpp.
int nb_temporaries [static] |
Definition at line 25 of file product_notemporary.cpp.