Classes | Public Types | Static Public Member Functions | Static Public Attributes | List of all members
eigen_tensor_helper< Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType > > Struct Template Reference

#include <tensor.h>

Classes

struct  helper
 
struct  helper< index_sequence< Is... > >
 

Public Types

using Type = Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType >
 
using ValidType = void
 

Static Public Member Functions

template<typename... Args>
static Typealloc (Args &&...args)
 
static void free (Type *tensor)
 
static Eigen::DSizes< typename Type::Index, Type::NumIndices > get_shape (const Type &f)
 
static constexpr bool is_correct_shape (const Eigen::DSizes< typename Type::Index, Type::NumIndices > &)
 

Static Public Attributes

static constexpr auto dimensions_descriptor = helper<decltype(make_index_sequence<Type::NumIndices>())>::value
 

Detailed Description

template<typename Scalar_, int NumIndices_, int Options_, typename IndexType>
struct eigen_tensor_helper< Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType > >

Definition at line 55 of file tensor.h.

Member Typedef Documentation

◆ Type

template<typename Scalar_ , int NumIndices_, int Options_, typename IndexType >
using eigen_tensor_helper< Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType > >::Type = Eigen::Tensor<Scalar_, NumIndices_, Options_, IndexType>

Definition at line 56 of file tensor.h.

◆ ValidType

template<typename Scalar_ , int NumIndices_, int Options_, typename IndexType >
using eigen_tensor_helper< Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType > >::ValidType = void

Definition at line 57 of file tensor.h.

Member Function Documentation

◆ alloc()

template<typename Scalar_ , int NumIndices_, int Options_, typename IndexType >
template<typename... Args>
static Type* eigen_tensor_helper< Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType > >::alloc ( Args &&...  args)
inlinestatic

Definition at line 80 of file tensor.h.

◆ free()

template<typename Scalar_ , int NumIndices_, int Options_, typename IndexType >
static void eigen_tensor_helper< Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType > >::free ( Type tensor)
inlinestatic

Definition at line 84 of file tensor.h.

◆ get_shape()

template<typename Scalar_ , int NumIndices_, int Options_, typename IndexType >
static Eigen::DSizes<typename Type::Index, Type::NumIndices> eigen_tensor_helper< Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType > >::get_shape ( const Type f)
inlinestatic

Definition at line 59 of file tensor.h.

◆ is_correct_shape()

template<typename Scalar_ , int NumIndices_, int Options_, typename IndexType >
static constexpr bool eigen_tensor_helper< Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType > >::is_correct_shape ( const Eigen::DSizes< typename Type::Index, Type::NumIndices > &  )
inlinestaticconstexpr

Definition at line 64 of file tensor.h.

Member Data Documentation

◆ dimensions_descriptor

template<typename Scalar_ , int NumIndices_, int Options_, typename IndexType >
constexpr auto eigen_tensor_helper< Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType > >::dimensions_descriptor = helper<decltype(make_index_sequence<Type::NumIndices>())>::value
staticconstexpr

Definition at line 77 of file tensor.h.


The documentation for this struct was generated from the following file:


gtsam
Author(s):
autogenerated on Tue Jun 25 2024 03:08:14