Macros | Functions | Variables
sparse_ref.cpp File Reference
#include "main.h"
#include <Eigen/SparseCore>
Include dependency graph for sparse_ref.cpp:

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

void call_ref ()
 
template<typename B >
EIGEN_DONT_INLINE void call_ref_1 (Ref< SparseMatrix< float > > a, const B &b)
 
template<typename B >
EIGEN_DONT_INLINE void call_ref_2 (const Ref< const SparseMatrix< float > > &a, const B &b)
 
template<typename B >
EIGEN_DONT_INLINE void call_ref_3 (const Ref< const SparseMatrix< float >, StandardCompressedFormat > &a, const B &b)
 
template<typename B >
EIGEN_DONT_INLINE void call_ref_4 (Ref< SparseVector< float > > a, const B &b)
 
template<typename B >
EIGEN_DONT_INLINE void call_ref_5 (const Ref< const SparseVector< float > > &a, const B &b)
 
template<typename PlainObjectType >
void check_const_correctness (const PlainObjectType &)
 
 EIGEN_DECLARE_TEST (sparse_ref)
 
void on_temporary_creation ()
 

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 22 of file sparse_ref.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 sparse_ref.cpp.

Function Documentation

◆ call_ref()

void call_ref ( )

Definition at line 62 of file sparse_ref.cpp.

◆ call_ref_1()

template<typename B >
EIGEN_DONT_INLINE void call_ref_1 ( Ref< SparseMatrix< float > >  a,
const B b 
)

Definition at line 45 of file sparse_ref.cpp.

◆ call_ref_2()

template<typename B >
EIGEN_DONT_INLINE void call_ref_2 ( const Ref< const SparseMatrix< float > > &  a,
const B b 
)

Definition at line 48 of file sparse_ref.cpp.

◆ call_ref_3()

template<typename B >
EIGEN_DONT_INLINE void call_ref_3 ( const Ref< const SparseMatrix< float >, StandardCompressedFormat > &  a,
const B b 
)

Definition at line 51 of file sparse_ref.cpp.

◆ call_ref_4()

template<typename B >
EIGEN_DONT_INLINE void call_ref_4 ( Ref< SparseVector< float > >  a,
const B b 
)

Definition at line 57 of file sparse_ref.cpp.

◆ call_ref_5()

template<typename B >
EIGEN_DONT_INLINE void call_ref_5 ( const Ref< const SparseVector< float > > &  a,
const B b 
)

Definition at line 60 of file sparse_ref.cpp.

◆ check_const_correctness()

template<typename PlainObjectType >
void check_const_correctness ( const PlainObjectType &  )

Definition at line 34 of file sparse_ref.cpp.

◆ EIGEN_DECLARE_TEST()

EIGEN_DECLARE_TEST ( sparse_ref  )

Definition at line 129 of file sparse_ref.cpp.

◆ on_temporary_creation()

void on_temporary_creation ( )
inline

Definition at line 17 of file sparse_ref.cpp.

Variable Documentation

◆ nb_temporaries

long int nb_temporaries
static

Definition at line 15 of file sparse_ref.cpp.

nb_temporaries
static long int nb_temporaries
Definition: sparse_ref.cpp:15
N
#define N
Definition: igam.h:9


gtsam
Author(s):
autogenerated on Fri Nov 1 2024 03:43:23