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{
12public:
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
#define DLL_LINKAGE
void DerivWeigh(float d, float *gradient) const
float Weigh(float d) const