SUNphi
1.0
|
Provide range creators. More...
Go to the source code of this file.
Classes | |
struct | SUNphi::_IntsUpTo< Max > |
struct | SUNphi::_IntsUpTo< 0 > |
struct | SUNphi::_IntsUpTo< 1 > |
struct | SUNphi::_RangeSeq< Min, Shift, Max > |
Typedefs | |
template<int Max> | |
using | SUNphi::IntsUpTo = typename _IntsUpTo< Max >::type |
template<int Min, int Shift, int Max> | |
using | SUNphi::RangeSeq = typename _RangeSeq< Min, Shift, Max >::type |
template<int Length, int Val> | |
using | SUNphi::IntSeqOfSameNumb = typename IntsUpTo< Length >::template Mul< 0 >::template Add< Val > |
Defines a IntSeq of given Length , all containing Val as entry. | |
Variables | |
template<int Min, int Shift, int Max> | |
decltype(auto) constexpr | SUNphi::rangeSeq |
Create a RangeSeq with given types. More... | |
Provide range creators.
Definition in file Ranges.hpp.
using SUNphi::IntsUpTo = typedef typename _IntsUpTo<Max>::type |
Defines a sequence of integer up to Max (excluded)
Wraps the internal definition
Definition at line 56 of file Ranges.hpp.
using SUNphi::RangeSeq = typedef typename _RangeSeq<Min,Shift,Max>::type |
Defines a sequence of integer with offset and stride (up-open interval)
Example:
Definition at line 103 of file Ranges.hpp.
decltype(auto) constexpr SUNphi::rangeSeq |
Create a RangeSeq with given types.
Definition at line 110 of file Ranges.hpp.