SyTen

◆ map_to_interval()

Index syten::k_to_y::map_to_interval ( Index  maxp,
int  k 
)

Maps the momentum k into the interval \( [0, maxp) \).

In particular, negative incoming momenta are correctly mapped into that interval as well, e.g. \( -1 \) is mapped to \( maxp - 1 \).

Referenced by linear(), ordered(), and sep_pi().

+ Here is the caller graph for this function: