SyTen
syten::k_to_y Namespace Reference

Functions which, when given a momentum on the ring k, give the coordinate y at which we want to place this momentum. More...

Typedefs

typedef Index(* MomentumFunction) (Index maxp, int k)
 Type of a function returning a momentum→position mapping. More...
 

Functions

MomentumFunction decideFunction (std::string const &fun)
 Returns a pointer to the specified function, update SYTEN_KTOY_MAPS if this changes. More...
 
Index linear (Index maxp, int k)
 The trivial mapping. More...
 
Index map_to_interval (Index maxp, int k)
 Maps the momentum k into the interval \( [0, maxp) \). More...
 
Index ordered (std::vector< Index > idx, Index maxp, int k)
 momenta ordered according to vector idx loaded from file More...
 
std::vector< Indexordering (Index maxp, std::function< Index(int)> kfun)
 Returns a vector v[i], meaning that the i-th column has momentum v[i]. More...
 
Index sep_pi (Index maxp, int k)
 momenta separated by Ï€ (or maxp/2) are next to each other More...
 

Detailed Description

Functions which, when given a momentum on the ring k, give the coordinate y at which we want to place this momentum.