SUNphi
1.0
|
Implements operations over list of integers. More...
Go to the source code of this file.
Macros | |
#define | DEFINE_SEARCH_MIN_OR_MAX(NAME, DESCR, OPER) |
Provide a routine to search the minimal or maximal. More... | |
Functions | |
template<int... Ints> | |
constexpr int | SUNphi::_hSum () |
template<int... Ints> | |
constexpr int | SUNphi::_hMul () |
template<int In, int Head, int... Tail> | |
int | SUNphi::_maxOfList () |
template<int In, int Head, int... Tail> | |
int | SUNphi::_minOfList () |
Variables | |
template<int... Ints> | |
constexpr int | SUNphi::hSum |
Sum of all integers. More... | |
template<int I, int Head = 0, int... Tail> | |
constexpr int | SUNphi::hSumFirst |
Sum of all integers up to I (excluded) More... | |
template<int I, int Head> | |
constexpr int | SUNphi::hSumFirst< I, Head > |
Sum of all integers up to I (excluded),unary case. More... | |
template<int... Ints> | |
constexpr int | SUNphi::hMul |
Product of all integers. More... | |
template<int Head, int... Tail> | |
constexpr int | SUNphi::maxOfList = _maxOfList<Head,Head,Tail...>() |
template<int Head, int... Tail> | |
constexpr int | SUNphi::minOfList = _minOfList<Head,Head,Tail...>() |
Implements operations over list of integers.
Definition in file IntListOperations.hpp.
#define DEFINE_SEARCH_MIN_OR_MAX | ( | NAME, | |
DESCR, | |||
OPER | |||
) |
Provide a routine to search the minimal or maximal.
Definition at line 68 of file IntListOperations.hpp.
constexpr int SUNphi::_hMul | ( | ) |
Product of all integers
Internal implementation
Definition at line 51 of file IntListOperations.hpp.
constexpr int SUNphi::_hSum | ( | ) |
int SUNphi::_maxOfList | ( | ) |
Maximal of all integers
Internal implementation
Definition at line 96 of file IntListOperations.hpp.
int SUNphi::_minOfList | ( | ) |
Minimal of all integers
Internal implementation
Definition at line 97 of file IntListOperations.hpp.
constexpr int SUNphi::hMul |
Product of all integers.
Definition at line 62 of file IntListOperations.hpp.
constexpr int SUNphi::hSum |
Sum of all integers.
Definition at line 25 of file IntListOperations.hpp.
constexpr int SUNphi::hSumFirst |
Sum of all integers up to I (excluded)
Definition at line 35 of file IntListOperations.hpp.
constexpr int SUNphi::hSumFirst< I, Head > |
Sum of all integers up to I (excluded),unary case.
Definition at line 41 of file IntListOperations.hpp.
constexpr int SUNphi::maxOfList = _maxOfList<Head,Head,Tail...>() |
Maximal of all integers
Definition at line 96 of file IntListOperations.hpp.
constexpr int SUNphi::minOfList = _minOfList<Head,Head,Tail...>() |
Minimal of all integers
Definition at line 97 of file IntListOperations.hpp.