|
SUNphi
1.0
|
#include <TensComp.hpp>
Public Types | |
| using | type = T |
| Mapped type. | |
Public Member Functions | |
| type & | operator~ () |
| const type & | operator~ () const |
Static Public Member Functions | |
| static constexpr const char * | name () |
| Provide a dummy name, maybe we can improve it. More... | |
Static Public Attributes | |
| static constexpr int | size =Size |
| Size of the tensor component (max index value) | |
| static constexpr bool | isDynamic =(Size==DYNAMIC) |
| Report if the component has dynamic size. | |
| static constexpr int | maxKnownSubMultiple =(isDynamic?MaxKnownSubMultiple:size) |
| If DYNAMIC size, this is used to provide a submultiple of "size". | |
| template<typename F > | |
| static constexpr bool | isVectorizable =canBeFactorOfSIMDVector<F>(Size) |
| Check if compatible with vectorization. | |
Tensor Component
A tensor component is defined by an internal type and the associated size, which can be known at compile-time or can be made DYNAMIC, to be specified at runtime in the storage class
Definition at line 33 of file TensComp.hpp.
|
inlinestatic |
Provide a dummy name, maybe we can improve it.
Returns the name of the type
Definition at line 56 of file TensComp.hpp.
|
inline |
Cast operator to class type
Definition at line 40 of file TensComp.hpp.
|
inline |
Constant cast operator to class type
Definition at line 40 of file TensComp.hpp.