Macros | Functions | Variables
mixingtypes.cpp File Reference
#include "main.h"
Include dependency graph for mixingtypes.cpp:

Go to the source code of this file.

Macros

#define EIGEN_SCALAR_BINARY_OP_PLUGIN   { g_called |= (!internal::is_same<LhsScalar,RhsScalar>::value); }
 
#define VERIFY_MIX_SCALAR(XPR, REF)
 

Functions

 EIGEN_DECLARE_TEST (mixingtypes)
 
template<int SizeAtCompileType>
void mixingtypes (int size=SizeAtCompileType)
 
template<int SizeAtCompileType>
void raise_assertion (Index size=SizeAtCompileType)
 

Variables

static bool g_called
 

Macro Definition Documentation

◆ EIGEN_SCALAR_BINARY_OP_PLUGIN

#define EIGEN_SCALAR_BINARY_OP_PLUGIN   { g_called |= (!internal::is_same<LhsScalar,RhsScalar>::value); }

Definition at line 41 of file mixingtypes.cpp.

◆ VERIFY_MIX_SCALAR

#define VERIFY_MIX_SCALAR (   XPR,
  REF 
)
Value:
g_called = false; \
VERIFY_IS_APPROX(XPR,REF); \
VERIFY( g_called && #XPR" not properly optimized");

Definition at line 47 of file mixingtypes.cpp.

Function Documentation

◆ EIGEN_DECLARE_TEST()

EIGEN_DECLARE_TEST ( mixingtypes  )

Definition at line 312 of file mixingtypes.cpp.

◆ mixingtypes()

template<int SizeAtCompileType>
void mixingtypes ( int  size = SizeAtCompileType)

Definition at line 74 of file mixingtypes.cpp.

◆ raise_assertion()

template<int SizeAtCompileType>
void raise_assertion ( Index  size = SizeAtCompileType)

Definition at line 53 of file mixingtypes.cpp.

Variable Documentation

◆ g_called

bool g_called
static

Definition at line 40 of file mixingtypes.cpp.

gtwrap.interface_parser.tokens.REF
REF
Definition: tokens.py:21
g_called
static bool g_called
Definition: mixingtypes.cpp:40


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