HILA
Loading...
Searching...
No Matches
sun_max_staple_sum_rot.h File Reference
#include <numeric>
#include "sun_matrix.h"
#include "plumbing/shuffle.h"
#include "tools/floating_point_epsilon.h"
Include dependency graph for sun_max_staple_sum_rot.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<typename T , int N>
SU< N, T > suN_max_staple_sum_rot (const SU< N, T > &staple)
 Find \( SU(N) \) matrix U that maximizes ReTr(U*staple) for given staple.
 
template<typename T , int N, typename Btype >
int suN_overrelax (SU< N, T > &U, const SU< N, T > &staple, Btype beta)
 \( SU(N) \) overrelaxation using \( SU(N) \) matrix obtained from max_staple_sum_rot() routine
 

Function Documentation

◆ suN_max_staple_sum_rot()

template<typename T , int N>
SU< N, T > suN_max_staple_sum_rot ( const SU< N, T > &  staple)

Find \( SU(N) \) matrix U that maximizes ReTr(U*staple) for given staple.

Template Parameters
Tfloat/double/long double
NNumber of colors
Parameters
U\( SU(N) \) matrix that maximizes ReTr(U*staple)
stapleStaple

Definition at line 21 of file sun_max_staple_sum_rot.h.

◆ suN_overrelax()

template<typename T , int N, typename Btype >
int suN_overrelax ( SU< N, T > &  U,
const SU< N, T > &  staple,
Btype  beta 
)

\( SU(N) \) overrelaxation using \( SU(N) \) matrix obtained from max_staple_sum_rot() routine

Template Parameters
Tfloat/double/long double
NNumber of colors
Parameters
U\( SU(N) \) link to perform overrelaxation on
stapleStaple to compute overrelaxation with

Definition at line 130 of file sun_max_staple_sum_rot.h.