Public Types | Static Public Member Functions | Static Public Attributes | List of all members
eigen_tensor_helper< Eigen::TensorFixedSize< Scalar_, Eigen::Sizes< Indices... >, Options_, IndexType > > Struct Template Reference

#include <tensor.h>

Public Types

using Type = Eigen::TensorFixedSize< Scalar_, Eigen::Sizes< Indices... >, Options_, IndexType >
 
using ValidType = void
 

Static Public Member Functions

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

Static Public Attributes

static constexpr auto dimensions_descriptor = concat(const_name<Indices>()...)
 

Detailed Description

template<typename Scalar_, typename std::ptrdiff_t... Indices, int Options_, typename IndexType>
struct eigen_tensor_helper< Eigen::TensorFixedSize< Scalar_, Eigen::Sizes< Indices... >, Options_, IndexType > >

Definition at line 88 of file tensor.h.

Member Typedef Documentation

◆ Type

template<typename Scalar_ , typename std::ptrdiff_t... Indices, int Options_, typename IndexType >
using eigen_tensor_helper< Eigen::TensorFixedSize< Scalar_, Eigen::Sizes< Indices... >, Options_, IndexType > >::Type = Eigen::TensorFixedSize<Scalar_, Eigen::Sizes<Indices...>, Options_, IndexType>

Definition at line 90 of file tensor.h.

◆ ValidType

template<typename Scalar_ , typename std::ptrdiff_t... Indices, int Options_, typename IndexType >
using eigen_tensor_helper< Eigen::TensorFixedSize< Scalar_, Eigen::Sizes< Indices... >, Options_, IndexType > >::ValidType = void

Definition at line 91 of file tensor.h.

Member Function Documentation

◆ alloc()

template<typename Scalar_ , typename std::ptrdiff_t... Indices, int Options_, typename IndexType >
template<typename... Args>
static Type* eigen_tensor_helper< Eigen::TensorFixedSize< Scalar_, Eigen::Sizes< Indices... >, Options_, IndexType > >::alloc ( Args &&...  args)
inlinestatic

Definition at line 110 of file tensor.h.

◆ free()

template<typename Scalar_ , typename std::ptrdiff_t... Indices, int Options_, typename IndexType >
static void eigen_tensor_helper< Eigen::TensorFixedSize< Scalar_, Eigen::Sizes< Indices... >, Options_, IndexType > >::free ( Type tensor)
inlinestatic

Definition at line 115 of file tensor.h.

◆ get_shape() [1/2]

template<typename Scalar_ , typename std::ptrdiff_t... Indices, int Options_, typename IndexType >
static constexpr Eigen::DSizes<typename Type::Index, Type::NumIndices> eigen_tensor_helper< Eigen::TensorFixedSize< Scalar_, Eigen::Sizes< Indices... >, Options_, IndexType > >::get_shape ( )
inlinestaticconstexpr

Definition at line 98 of file tensor.h.

◆ get_shape() [2/2]

template<typename Scalar_ , typename std::ptrdiff_t... Indices, int Options_, typename IndexType >
static constexpr Eigen::DSizes<typename Type::Index, Type::NumIndices> eigen_tensor_helper< Eigen::TensorFixedSize< Scalar_, Eigen::Sizes< Indices... >, Options_, IndexType > >::get_shape ( const Type )
inlinestaticconstexpr

Definition at line 94 of file tensor.h.

◆ is_correct_shape()

template<typename Scalar_ , typename std::ptrdiff_t... Indices, int Options_, typename IndexType >
static bool eigen_tensor_helper< Eigen::TensorFixedSize< Scalar_, Eigen::Sizes< Indices... >, Options_, IndexType > >::is_correct_shape ( const Eigen::DSizes< typename Type::Index, Type::NumIndices > &  shape)
inlinestatic

Definition at line 103 of file tensor.h.

Member Data Documentation

◆ dimensions_descriptor

template<typename Scalar_ , typename std::ptrdiff_t... Indices, int Options_, typename IndexType >
constexpr auto eigen_tensor_helper< Eigen::TensorFixedSize< Scalar_, Eigen::Sizes< Indices... >, Options_, IndexType > >::dimensions_descriptor = concat(const_name<Indices>()...)
staticconstexpr

Definition at line 107 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