QUDA  v1.1.0
A library for QCD on GPUs
Static Public Attributes | List of all members
trove::static_mod_inverse_helper< false, a, m, r > Struct Template Reference

#include <static_mod_inverse.h>

Static Public Attributes

static const int fx = (r * a) % m
 
static const bool found = (fx == 1)
 
static const int value = found ? r : static_mod_inverse<a, m, r+1>::value
 

Detailed Description

template<int a, int m, int r>
struct trove::static_mod_inverse_helper< false, a, m, r >

Definition at line 42 of file static_mod_inverse.h.

Member Data Documentation

◆ found

template<int a, int m, int r>
const bool trove::static_mod_inverse_helper< false, a, m, r >::found = (fx == 1)
static

Definition at line 44 of file static_mod_inverse.h.

◆ fx

template<int a, int m, int r>
const int trove::static_mod_inverse_helper< false, a, m, r >::fx = (r * a) % m
static

Definition at line 43 of file static_mod_inverse.h.

◆ value

template<int a, int m, int r>
const int trove::static_mod_inverse_helper< false, a, m, r >::value = found ? r : static_mod_inverse<a, m, r+1>::value
static

Definition at line 45 of file static_mod_inverse.h.


The documentation for this struct was generated from the following file: