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

Macros

#define TEST_TENSOR_EQUAL(e1, e2)
 
#define TEST_OP(op)   TEST_TENSOR_EQUAL(t op 0, t op t.constant(0))
 

Functions

 EIGEN_DECLARE_TEST (cxx11_tensor_sugar)
 

Macro Definition Documentation

◆ TEST_OP

#define TEST_OP (   op)    TEST_TENSOR_EQUAL(t op 0, t op t.constant(0))

◆ TEST_TENSOR_EQUAL

#define TEST_TENSOR_EQUAL (   e1,
  e2 
)
Value:
b = ((e1) == (e2)).all(); \
VERIFY(b())
Scalar * b
Definition benchVecAdd.cpp:17

Function Documentation

◆ EIGEN_DECLARE_TEST()

EIGEN_DECLARE_TEST ( cxx11_tensor_sugar  )