SUNphi  1.0
Vector.hpp File Reference

Header file for the definition of vectors, and useful routines related. More...

#include <iostream>
#include <sstream>
#include <functional>
#include <numeric>
#include <map>
#include <vector>
#include <math/Arithmetic.hpp>
#include <metaprogramming/TypeTraits.hpp>
#include <metaprogramming/SFINAE.hpp>
#include <metaprogramming/UniversalReferences.hpp>
#include <utility/ScopeDoer.hpp>

Go to the source code of this file.

Classes

class  SUNphi::Vector< T >
 

Functions

template<bool FirstSecond, typename T1 , typename T2 , typename TOut = Conditional<FirstSecond,T2,T1>>
Vector< TOut > SUNphi::getAllFirstOrSecond (const std::map< T1, T2 > &m)
 Gets first or second entry of the map. More...
 
template<typename T1 , typename T2 >
auto SUNphi::getAllKeys (const std::map< T1, T2 > &m)
 Slice all keys of a map.
 
template<typename T1 , typename T2 >
auto SUNphi::getAllVal (const std::map< T1, T2 > &m)
 Slice all values of a map.
 

Detailed Description

Header file for the definition of vectors, and useful routines related.

Definition in file Vector.hpp.

Function Documentation

template<bool FirstSecond, typename T1 , typename T2 , typename TOut = Conditional<FirstSecond,T2,T1>>
Vector<TOut> SUNphi::getAllFirstOrSecond ( const std::map< T1, T2 > &  m)

Gets first or second entry of the map.

Result

Definition at line 333 of file Vector.hpp.