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 Weigh(float d) const
14  {
15  return d;
16  }
17  template< unsigned int N >
18  void DerivWeigh(float d, float* gradient) const {}
19 };
20 
21 #endif
LevMarLSWeight::Weigh
float Weigh(float d) const
Definition: LevMarLSWeight.h:13
LevMarLSWeight
Definition: LevMarLSWeight.h:10
LevMarLSWeight::DerivWeigh
void DerivWeigh(float d, float *gradient) const
Definition: LevMarLSWeight.h:18
DLL_LINKAGE
#define DLL_LINKAGE
Definition: LevMarLSWeight.h:7