Eigen::internal::plain_array< T, Size, MatrixOrArrayOptions, Alignment > Struct Template Reference

#include <DenseStorage.h>

Public Member Functions

 EIGEN_ALIGN_TO_BOUNDARY (Alignment) T array[Size]
 
EIGEN_DEVICE_FUNC constexpr EIGEN_STRONG_INLINE plain_array ()
 

Detailed Description

template<typename T, int Size, int MatrixOrArrayOptions, int Alignment = (MatrixOrArrayOptions & DontAlign) ? 0 : compute_default_alignment<T, Size>::value>
struct Eigen::internal::plain_array< T, Size, MatrixOrArrayOptions, Alignment >

Static array. If the MatrixOrArrayOptions require auto-alignment, the array will be automatically aligned: to 16 bytes boundary if the total size is a multiple of 16 bytes.

Constructor & Destructor Documentation

◆ plain_array()

template<typename T , int Size, int MatrixOrArrayOptions, int Alignment = (MatrixOrArrayOptions & DontAlign) ? 0 : compute_default_alignment<T, Size>::value>
EIGEN_DEVICE_FUNC constexpr EIGEN_STRONG_INLINE Eigen::internal::plain_array< T, Size, MatrixOrArrayOptions, Alignment >::plain_array ( )
inlineconstexpr
59  {
62  }
#define EIGEN_MAKE_STACK_ALLOCATION_ASSERT(X)
Definition: DenseStorage.h:44
#define EIGEN_MAKE_UNALIGNED_ARRAY_ASSERT(Alignment)
Definition: DenseStorage.h:33

References EIGEN_MAKE_STACK_ALLOCATION_ASSERT, and EIGEN_MAKE_UNALIGNED_ARRAY_ASSERT.

Member Function Documentation

◆ EIGEN_ALIGN_TO_BOUNDARY()

template<typename T , int Size, int MatrixOrArrayOptions, int Alignment = (MatrixOrArrayOptions & DontAlign) ? 0 : compute_default_alignment<T, Size>::value>
Eigen::internal::plain_array< T, Size, MatrixOrArrayOptions, Alignment >::EIGEN_ALIGN_TO_BOUNDARY ( Alignment  )

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