npstat is hosted by Hepforge, IPPP Durham
NPStat  5.10.0
Recurrence.hh
1 #ifndef NPSTAT_RECURRENCE_HH_
2 #define NPSTAT_RECURRENCE_HH_
3 
4 //======================================================================
5 // Recurrence.hh
6 //
7 // This is an internal header which is subject to change without
8 // notice. Application code should never use classes or functions
9 // declared/defined in this header directly.
10 //
11 // Author: I. Volobouev
12 //
13 // May 2017
14 //======================================================================
15 
16 #include <cmath>
17 #include <cassert>
18 
19 namespace npstat {
20  namespace Private {
21  struct Recurrence
22  {
23  inline Recurrence(const long double a, const long double b)
24  : alpha(a), beta(b)
25  {
26  assert(beta > 0.0L);
27  sqrbeta = sqrtl(beta);
28  }
29 
30  long double alpha;
31  long double beta;
32  long double sqrbeta;
33  };
34  }
35 }
36 
37 #endif // NPSTAT_RECURRENCE_HH_
Definition: AbsArrayProjector.hh:14
Definition: Recurrence.hh:22