LevMarLSWeight.h
Go to the documentation of this file.
1 #ifndef LEVMARLSWEIGHT_HEADER
2 #define LEVMARLSWEIGHT_HEADER
3 #include <algorithm>
4 #include <cmath>
5 
6 #ifndef DLL_LINKAGE
7 #define DLL_LINKAGE
8 #endif
9 
11 {
12 public:
13  float
14  Weigh(float d) const
15  {
16  return d;
17  }
18 
19  template <unsigned int N>
20  void
21  DerivWeigh(float d, float* gradient) const
22  {
23  }
24 };
25 
26 #endif
LevMarLSWeight::Weigh
float Weigh(float d) const
Definition: LevMarLSWeight.h:14
LevMarLSWeight
Definition: LevMarLSWeight.h:10
LevMarLSWeight::DerivWeigh
void DerivWeigh(float d, float *gradient) const
Definition: LevMarLSWeight.h:21
DLL_LINKAGE
#define DLL_LINKAGE
Definition: LevMarLSWeight.h:7