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

Namespaces

namespace  constFct
 

Classes

struct  Permutation
 
class  Stopwatch
 
struct  Transposition
 

Enumerations

enum class  TimeUnit {
  MILLISECONDS , SECONDS , MINUTES , HOURS ,
  DAYS , NATURAL
}
 

Functions

constexpr std::size_t inter_dim (std::size_t Rank)
 
constexpr std::size_t mult_dim (std::size_t Rank)
 
constexpr std::size_t numberOfVertices (std::size_t Rank)
 
constexpr std::size_t numberOfInnerlines (std::size_t Rank)
 
template<typename T , T... Nums>
void print (seq::iseq< T, Nums... > seq)
 
std::string print_frac_nice (boost::rational< int > r)
 
template<typename T , std::size_t LL, std::size_t RL, std::size_t ... LLs, std::size_t ... RLs>
constexpr std::array< T, LL+RL > join (const std::array< T, LL > rhs, const std::array< T, RL > lhs, detail::num_tuple< LLs... >, detail::num_tuple< RLs... >)
 
template<typename T , std::size_t LL, std::size_t RL>
constexpr std::array< T, LL+RL > join (std::array< T, LL > rhs, std::array< T, RL > lhs)
 
std::string format_secs (std::chrono::duration< double, std::ratio< 1, 1 > > dts)
 
template<typename T , typename = typename std::enable_if_t<boost::describe::has_describe_enumerators<T>::value>>
enum_from_toml (const toml::value &t)
 
std::map< std::string, Paramparams_from_toml (const toml::value &t)
 

Enumeration Type Documentation

◆ TimeUnit

enum class Xped::util::TimeUnit
strong
Enumerator
MILLISECONDS 
SECONDS 
MINUTES 
HOURS 
DAYS 
NATURAL 

Function Documentation

◆ enum_from_toml()

template<typename T , typename = typename std::enable_if_t<boost::describe::has_describe_enumerators<T>::value>>
T Xped::util::enum_from_toml ( const toml::value &  t)

◆ format_secs()

std::string Xped::util::format_secs ( std::chrono::duration< double, std::ratio< 1, 1 > >  dts)
Here is the caller graph for this function:

◆ inter_dim()

constexpr std::size_t Xped::util::inter_dim ( std::size_t  Rank)
constexpr
Here is the caller graph for this function:

◆ join() [1/2]

template<typename T , std::size_t LL, std::size_t RL, std::size_t ... LLs, std::size_t ... RLs>
constexpr std::array< T, LL+RL > Xped::util::join ( const std::array< T, LL >  rhs,
const std::array< T, RL >  lhs,
detail::num_tuple< LLs... >  ,
detail::num_tuple< RLs... >   
)
constexpr
Here is the caller graph for this function:

◆ join() [2/2]

template<typename T , std::size_t LL, std::size_t RL>
constexpr std::array< T, LL+RL > Xped::util::join ( std::array< T, LL >  rhs,
std::array< T, RL >  lhs 
)
constexpr
Here is the call graph for this function:

◆ mult_dim()

constexpr std::size_t Xped::util::mult_dim ( std::size_t  Rank)
constexpr
Here is the caller graph for this function:

◆ numberOfInnerlines()

constexpr std::size_t Xped::util::numberOfInnerlines ( std::size_t  Rank)
constexpr

◆ numberOfVertices()

constexpr std::size_t Xped::util::numberOfVertices ( std::size_t  Rank)
constexpr

◆ params_from_toml()

std::map< std::string, Param > Xped::util::params_from_toml ( const toml::value &  t)
Here is the caller graph for this function:

◆ print()

template<typename T , T... Nums>
void Xped::util::print ( seq::iseq< T, Nums... >  seq)

◆ print_frac_nice()

std::string Xped::util::print_frac_nice ( boost::rational< int >  r)
inline

Prints a boost fraction in such a way, that a "1" in the denominator is omitted.