Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
Eigen::Sizes< Indices > Struct Template Reference

#include <TensorDimensions.h>

Public Types

typedef internal::numeric_list< std::ptrdiff_t, Indices... > Base
 

Public Member Functions

template<typename DenseIndex >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE ptrdiff_t IndexOfColMajor (const array< DenseIndex, Base::count > &indices) const
 
template<typename DenseIndex >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE ptrdiff_t IndexOfRowMajor (const array< DenseIndex, Base::count > &indices) const
 
template<typename T >
Sizesoperator= (const T &)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE std::ptrdiff_t operator[] (const std::ptrdiff_t index) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE std::ptrdiff_t rank () const
 
EIGEN_DEVICE_FUNC Sizes ()
 
template<typename DenseIndex >
EIGEN_DEVICE_FUNC Sizes (const array< DenseIndex, Base::count > &)
 

Static Public Member Functions

static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE std::ptrdiff_t TotalSize ()
 

Public Attributes

const Base t = Base()
 

Static Public Attributes

static const ptrdiff_t count = Base::count
 
static const std::ptrdiff_t total_size = internal::arg_prod(Indices...)
 

Detailed Description

template<typename std::ptrdiff_t... Indices>
struct Eigen::Sizes< Indices >

Definition at line 93 of file TensorDimensions.h.

Member Typedef Documentation

◆ Base

template<typename std::ptrdiff_t... Indices>
typedef internal::numeric_list<std::ptrdiff_t, Indices...> Eigen::Sizes< Indices >::Base

Definition at line 94 of file TensorDimensions.h.

Constructor & Destructor Documentation

◆ Sizes() [1/2]

template<typename std::ptrdiff_t... Indices>
EIGEN_DEVICE_FUNC Eigen::Sizes< Indices >::Sizes ( )
inline

Definition at line 107 of file TensorDimensions.h.

◆ Sizes() [2/2]

template<typename std::ptrdiff_t... Indices>
template<typename DenseIndex >
EIGEN_DEVICE_FUNC Eigen::Sizes< Indices >::Sizes ( const array< DenseIndex, Base::count > &  )
inlineexplicit

Definition at line 109 of file TensorDimensions.h.

Member Function Documentation

◆ IndexOfColMajor()

template<typename std::ptrdiff_t... Indices>
template<typename DenseIndex >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE ptrdiff_t Eigen::Sizes< Indices >::IndexOfColMajor ( const array< DenseIndex, Base::count > &  indices) const
inline

Definition at line 129 of file TensorDimensions.h.

◆ IndexOfRowMajor()

template<typename std::ptrdiff_t... Indices>
template<typename DenseIndex >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE ptrdiff_t Eigen::Sizes< Indices >::IndexOfRowMajor ( const array< DenseIndex, Base::count > &  indices) const
inline

Definition at line 133 of file TensorDimensions.h.

◆ operator=()

template<typename std::ptrdiff_t... Indices>
template<typename T >
Sizes& Eigen::Sizes< Indices >::operator= ( const T )
inline

Definition at line 119 of file TensorDimensions.h.

◆ operator[]()

template<typename std::ptrdiff_t... Indices>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE std::ptrdiff_t Eigen::Sizes< Indices >::operator[] ( const std::ptrdiff_t  index) const
inline

Definition at line 124 of file TensorDimensions.h.

◆ rank()

template<typename std::ptrdiff_t... Indices>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE std::ptrdiff_t Eigen::Sizes< Indices >::rank ( ) const
inline

Definition at line 99 of file TensorDimensions.h.

◆ TotalSize()

template<typename std::ptrdiff_t... Indices>
static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE std::ptrdiff_t Eigen::Sizes< Indices >::TotalSize ( )
inlinestatic

Definition at line 103 of file TensorDimensions.h.

Member Data Documentation

◆ count

template<typename std::ptrdiff_t... Indices>
const ptrdiff_t Eigen::Sizes< Indices >::count = Base::count
static

Definition at line 97 of file TensorDimensions.h.

◆ t

template<typename std::ptrdiff_t... Indices>
const Base Eigen::Sizes< Indices >::t = Base()

Definition at line 95 of file TensorDimensions.h.

◆ total_size

template<typename std::ptrdiff_t... Indices>
const std::ptrdiff_t Eigen::Sizes< Indices >::total_size = internal::arg_prod(Indices...)
static

Definition at line 96 of file TensorDimensions.h.


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


gtsam
Author(s):
autogenerated on Fri Nov 1 2024 03:46:17