Xped
Loading...
Searching...
No Matches
Xped::util::constFct Namespace Reference

Functions

template<std::size_t Rank>
constexpr std::size_t trimDim (std::size_t leg)
 
template<std::size_t Rank>
constexpr std::size_t shift (std::size_t x, std::size_t)
 
template<std::size_t Rank>
constexpr bool isGreaterOrEqual (std::size_t x, std::size_t)
 
template<std::size_t Rank>
constexpr bool isSmaller (std::size_t x, std::size_t)
 
template<typename Perm , typename Perm::value_type... Is>
constexpr auto inverse_perm_impl (seq::iseq< typename Perm::value_type, Is... >)
 
template<typename Perm , typename Indices = seq::make<typename Perm::value_type, Perm::size()>>
constexpr auto inverse_permutation ()
 
template<int N>
constexpr int posmod (int x)
 
constexpr int posmod (int x, int N)
 

Function Documentation

◆ inverse_perm_impl()

template<typename Perm , typename Perm::value_type... Is>
constexpr auto Xped::util::constFct::inverse_perm_impl ( seq::iseq< typename Perm::value_type, Is... >  )
constexpr

◆ inverse_permutation()

template<typename Perm , typename Indices = seq::make<typename Perm::value_type, Perm::size()>>
constexpr auto Xped::util::constFct::inverse_permutation ( )
constexpr
Here is the caller graph for this function:

◆ isGreaterOrEqual()

template<std::size_t Rank>
constexpr bool Xped::util::constFct::isGreaterOrEqual ( std::size_t  x,
std::size_t   
)
constexpr

◆ isSmaller()

template<std::size_t Rank>
constexpr bool Xped::util::constFct::isSmaller ( std::size_t  x,
std::size_t   
)
constexpr

◆ posmod() [1/2]

template<int N>
constexpr int Xped::util::constFct::posmod ( int  x)
inlineconstexpr
Here is the caller graph for this function:

◆ posmod() [2/2]

constexpr int Xped::util::constFct::posmod ( int  x,
int  N 
)
inlineconstexpr

◆ shift()

template<std::size_t Rank>
constexpr std::size_t Xped::util::constFct::shift ( std::size_t  x,
std::size_t   
)
constexpr

◆ trimDim()

template<std::size_t Rank>
constexpr std::size_t Xped::util::constFct::trimDim ( std::size_t  leg)
constexpr