SUNphi  1.0
SUNphi::_RangeSeq< Min, Shift, Max > Struct Template Reference

#include <Ranges.hpp>

Public Types

using type = typename SUNphi::IntsUpTo< normalizedMax >::template Mul< stride >::template Add< offset >
 Shifted-strided interval.
 

Static Public Attributes

static constexpr bool nonNull
 Mask used to set to zero the Range parameters. More...
 
static constexpr int normalizedMax
 Maximal value of the normalized range. More...
 
static constexpr int stride
 Stride among entries. More...
 
static constexpr int offset =nonNull*Min
 Offset of the sequence.
 

Detailed Description

template<int Min, int Shift, int Max>
struct SUNphi::_RangeSeq< Min, Shift, Max >

Defines a sequence of integer with offset and stride (up-open interval)

This is achieved using the Add and Mul from the IntSeq list

Definition at line 66 of file Ranges.hpp.

Member Data Documentation

template<int Min, int Shift, int Max>
constexpr bool SUNphi::_RangeSeq< Min, Shift, Max >::nonNull
static
Initial value:
=
(Max>Min)

Mask used to set to zero the Range parameters.

Definition at line 72 of file Ranges.hpp.

template<int Min, int Shift, int Max>
constexpr int SUNphi::_RangeSeq< Min, Shift, Max >::normalizedMax
static
Initial value:
=
nonNull*((Max-Min)/Shift)

Maximal value of the normalized range.

Definition at line 76 of file Ranges.hpp.

template<int Min, int Shift, int Max>
constexpr int SUNphi::_RangeSeq< Min, Shift, Max >::stride
static
Initial value:
=
nonNull*Shift

Stride among entries.

Definition at line 80 of file Ranges.hpp.


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