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

Go to the source code of this file.

Classes

struct  test_cast_runner< Scalar, EnableIf >
 
struct  test_cast_runner< Scalar, typename internal::enable_if< NumTraits< Scalar >::IsComplex >::type >
 

Functions

 EIGEN_DECLARE_TEST (cxx11_tensor_casts)
 
static void test_big_to_small_type_cast ()
 
static void test_float_to_int_cast ()
 
static void test_simple_cast ()
 
static void test_small_to_big_type_cast ()
 
template<typename FromType , typename ToType >
static void test_type_cast ()
 
static void test_vectorized_cast ()
 

Function Documentation

◆ EIGEN_DECLARE_TEST()

EIGEN_DECLARE_TEST ( cxx11_tensor_casts  )

Definition at line 162 of file cxx11_tensor_casts.cpp.

◆ test_big_to_small_type_cast()

static void test_big_to_small_type_cast ( )
static

Definition at line 79 of file cxx11_tensor_casts.cpp.

◆ test_float_to_int_cast()

static void test_float_to_int_cast ( )
static

Definition at line 60 of file cxx11_tensor_casts.cpp.

◆ test_simple_cast()

static void test_simple_cast ( )
static

Definition at line 18 of file cxx11_tensor_casts.cpp.

◆ test_small_to_big_type_cast()

static void test_small_to_big_type_cast ( )
static

Definition at line 94 of file cxx11_tensor_casts.cpp.

◆ test_type_cast()

template<typename FromType , typename ToType >
static void test_type_cast ( )
static

Definition at line 109 of file cxx11_tensor_casts.cpp.

◆ test_vectorized_cast()

static void test_vectorized_cast ( )
static

Definition at line 39 of file cxx11_tensor_casts.cpp.



gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:40:48