CHROMA
remez.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 /*! \file
3  * \brief Redirector for Remez algorithm for finding nth roots
4  */
5 
6 #ifndef __remez_h__
7 #define __remez_h__
8 
9 #include "chroma_config.h"
10 
11 #ifdef BUILD_GMP_REMEZ // If GMP is defined
12 
13 #include "remez_gmp.h"
14 
15 // The following is an ifdef lis that switches in different
16 // versions of the Remez implementation
17 
18 // GMP (Gnu Multi-Precision) version
19 namespace Chroma
20 {
21  /*! @ingroup monomial */
22  typedef RemezGMP Remez;
23 }
24 
25 #else
26 
27 #include "remez_stub.h"
28 
29 // Dummy version
30 namespace Chroma
31 {
32  /*! @ingroup monomial */
33  typedef RemezStub Remez;
34 }
35 
36 #endif // ifdef GMP
37 
38 #endif // include guard
39 
40 
41 
Dummy class for case when gmp is not present.
Definition: remez_stub.h:20
RemezStub Remez
Definition: remez.h:33
Asqtad Staggered-Dirac operator.
Definition: klein_gord.cc:10
Remez algorithm for finding nth roots.
Remez algorithm for finding nth roots.