TR-mbed 1.0
Loading...
Searching...
No Matches
Macros | Functions
sparse_ref.cpp File Reference
#include "main.h"
#include <Eigen/SparseCore>

Macros

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

Functions

void on_temporary_creation ()
 
template<typename PlainObjectType >
void check_const_correctness (const PlainObjectType &)
 
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)
 
void call_ref ()
 
 EIGEN_DECLARE_TEST (sparse_ref)
 

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

◆ call_ref()

void call_ref ( )

◆ call_ref_1()

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

◆ call_ref_2()

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

◆ call_ref_3()

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

◆ call_ref_4()

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

◆ call_ref_5()

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

◆ check_const_correctness()

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

◆ EIGEN_DECLARE_TEST()

EIGEN_DECLARE_TEST ( sparse_ref  )

◆ on_temporary_creation()

void on_temporary_creation ( )
inline