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(); \
VERIFY(b())
EIGEN_DEVICE_FUNC const Scalar & b

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.



hebiros
Author(s): Xavier Artache , Matthew Tesch
autogenerated on Thu Sep 3 2020 04:09:48