npstat is hosted by Hepforge, IPPP Durham
NPStat  5.10.0
BoundaryMethod.hh
Go to the documentation of this file.
1 #ifndef NPSTAT_BOUNDARYMETHOD_HH_
2 #define NPSTAT_BOUNDARYMETHOD_HH_
3 
4 /*!
5 // \file BoundaryMethod.hh
6 //
7 // \brief Enumeration of possible boundary handling methods for 1-d LOrPE
8 //
9 // This header should not be included directly in any application code.
10 // It is created, essentially, for convenience and for documentation
11 // purposes only. If necessary, use "npstat/stat/BoundaryHandling.hh"
12 // header file in the application code.
13 //
14 // Author: I. Volobouev
15 //
16 // June 2015
17 */
18 
19 namespace npstat {
20  namespace Private {
21  /**
22  // The enum values have the following meanings:
23  //
24  // BM_TRUNCATE Use simple truncation of the weight function
25  // (with subsequent renormalization).
26  //
27  // BM_STRETCH Stretch the weight function near the boundary.
28  //
29  // BM_FOLD Fold the weight function back into the support interval.
30  //
31  // BM_CONSTSQ Stretch the weight function so that, when it is
32  // normalized, the integral of its square remains constant.
33  //
34  // BM_FOLDSQ Combine folding and stretching so that the integral of
35  // weight squared remains constant.
36  //
37  // BM_CONSTVAR Stretch the weight function to preserve its variance.
38  //
39  // BM_FOLDVAR Stretch and fold the weight function to preserve its
40  // variance.
41  //
42  // BM_CONSTBW Stretch the weight function locally so that the optimal
43  // bandwidth remains approximately constant throughout the
44  // support of the estimated density. This methods takes
45  // two parameters: the degree "M" of the filter and the
46  // typical distribution width.
47  //
48  // BM_FOLDBW Stretch and fold the weight function locally so that
49  // the optimal bandwidth remains approximately constant
50  // throughout the support of the estimated density. This
51  // methods takes two parameters: the degree "M" of the
52  // filter and the typical distribution width.
53  */
55  {
56  BM_TRUNCATE = 0,
57  BM_STRETCH,
58  BM_FOLD,
59  BM_CONSTSQ,
60  BM_FOLDSQ,
61  BM_CONSTVAR,
62  BM_FOLDVAR,
63  BM_CONSTBW,
64  BM_FOLDBW
65  };
66  }
67 }
68 
69 #endif // NPSTAT_BOUNDARYMETHOD_HH_
BoundaryMethod
Definition: BoundaryMethod.hh:55
Definition: AbsArrayProjector.hh:14