TR-mbed 1.0
Loading...
Searching...
No Matches
Macros | Functions
sparse_product.cpp File Reference
#include "sparse.h"

Macros

#define EIGEN_SPARSE_CREATE_TEMPORARY_PLUGIN   { on_temporary_creation(); }
 
#define VERIFY_EVALUATION_COUNT(XPR, N)
 

Functions

void on_temporary_creation ()
 
template<typename SparseMatrixType >
void sparse_product ()
 
template<typename SparseMatrixType , typename DenseMatrixType >
void sparse_product_regression_test ()
 
template<typename Scalar >
void bug_942 ()
 
template<typename Real >
void test_mixing_types ()
 
 EIGEN_DECLARE_TEST (sparse_product)
 

Macro Definition Documentation

◆ EIGEN_SPARSE_CREATE_TEMPORARY_PLUGIN

#define EIGEN_SPARSE_CREATE_TEMPORARY_PLUGIN   { on_temporary_creation(); }

◆ VERIFY_EVALUATION_COUNT

#define VERIFY_EVALUATION_COUNT (   XPR,
  N 
)
Value:
{\
nb_temporaries = 0; \
CALL_SUBTEST( XPR ); \
if(nb_temporaries!=N) std::cerr << "nb_temporaries == " << nb_temporaries << "\n"; \
VERIFY( (#XPR) && nb_temporaries==N ); \
}
@ N
Definition constructor.cpp:23

Function Documentation

◆ bug_942()

template<typename Scalar >
void bug_942 ( )

◆ EIGEN_DECLARE_TEST()

EIGEN_DECLARE_TEST ( sparse_product  )

◆ on_temporary_creation()

void on_temporary_creation ( )
inline

◆ sparse_product()

template<typename SparseMatrixType >
void sparse_product ( )

◆ sparse_product_regression_test()

template<typename SparseMatrixType , typename DenseMatrixType >
void sparse_product_regression_test ( )

◆ test_mixing_types()

template<typename Real >
void test_mixing_types ( )