Macros | Functions | Variables
test/sparse_product.cpp File Reference
#include "sparse.h"
Include dependency graph for test/sparse_product.cpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

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

Functions

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

Variables

static long int nb_temporaries
 

Macro Definition Documentation

◆ EIGEN_SPARSE_CREATE_TEMPORARY_PLUGIN

#define EIGEN_SPARSE_CREATE_TEMPORARY_PLUGIN   { on_temporary_creation(); }

Definition at line 23 of file test/sparse_product.cpp.

◆ 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 ); \
}

Definition at line 27 of file test/sparse_product.cpp.

Function Documentation

◆ bug_942()

template<typename Scalar >
void bug_942 ( )

Definition at line 360 of file test/sparse_product.cpp.

◆ EIGEN_DECLARE_TEST()

EIGEN_DECLARE_TEST ( sparse_product  )

Definition at line 464 of file test/sparse_product.cpp.

◆ on_temporary_creation()

void on_temporary_creation ( )
inline

Definition at line 18 of file test/sparse_product.cpp.

◆ sparse_product()

template<typename SparseMatrixType >
void sparse_product ( )

Definition at line 36 of file test/sparse_product.cpp.

◆ sparse_product_regression_test()

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

Definition at line 338 of file test/sparse_product.cpp.

◆ test_mixing_types()

template<typename Real >
void test_mixing_types ( )

Definition at line 383 of file test/sparse_product.cpp.

Variable Documentation

◆ nb_temporaries

long int nb_temporaries
static

Definition at line 16 of file test/sparse_product.cpp.

nb_temporaries
static long int nb_temporaries
Definition: test/sparse_product.cpp:16
N
#define N
Definition: igam.h:9


gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:09:52