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

#include <TensorDimensions.h>

Inheritance diagram for Eigen::Sizes< Indices >:
Inheritance graph
[legend]

Public Types

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

Public Member Functions

template<typename DenseIndex >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE size_t IndexOfColMajor (const array< DenseIndex, Base::count > &indices) const
 
template<typename DenseIndex >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE size_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::size_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 ()
 

Static Public Attributes

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

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

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

Definition at line 105 of file TensorDimensions.h.

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 107 of file TensorDimensions.h.

Member Function Documentation

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

Definition at line 127 of file TensorDimensions.h.

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

Definition at line 131 of file TensorDimensions.h.

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

Definition at line 117 of file TensorDimensions.h.

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

Definition at line 122 of file TensorDimensions.h.

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

Definition at line 97 of file TensorDimensions.h.

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

Definition at line 101 of file TensorDimensions.h.

Member Data Documentation

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

Definition at line 95 of file TensorDimensions.h.


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


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