Macros | Functions
cxx11_tensor_sugar.cpp File Reference
#include "main.h"
#include <Eigen/CXX11/Tensor>
Include dependency graph for cxx11_tensor_sugar.cpp:

Go to the source code of this file.

Macros

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

Functions

static void test_comparison_sugar ()
 
void test_cxx11_tensor_sugar ()
 
static void test_scalar_sugar_add_mul ()
 
static void test_scalar_sugar_sub_div ()
 

Macro Definition Documentation

#define TEST_OP (   op)    TEST_TENSOR_EQUAL(t op 0, t op t.constant(0))
#define TEST_TENSOR_EQUAL (   e1,
  e2 
)
Value:
b = ((e1) == (e2)).all(); \
Scalar * b
Definition: benchVecAdd.cpp:17
#define VERIFY(a)
Definition: main.h:325

Function Documentation

static void test_comparison_sugar ( )
static

Definition at line 8 of file cxx11_tensor_sugar.cpp.

void test_cxx11_tensor_sugar ( )

Definition at line 76 of file cxx11_tensor_sugar.cpp.

static void test_scalar_sugar_add_mul ( )
static

Definition at line 36 of file cxx11_tensor_sugar.cpp.

static void test_scalar_sugar_sub_div ( )
static

Definition at line 56 of file cxx11_tensor_sugar.cpp.



gtsam
Author(s):
autogenerated on Sat May 8 2021 02:51:28