SourceXtractorPlusPlus 0.21
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
ResidualEstimator.h
Go to the documentation of this file.
1
23#ifndef MODELFITTING_RESIDUALESTIMATOR_H
24#define MODELFITTING_RESIDUALESTIMATOR_H
25
26#include <vector>
27#include <memory>
28#include <algorithm>
30
31namespace ModelFitting {
32
51
52public:
53
56
59
63
69 template <typename DoubleIter>
71
74 void populateResiduals(double* output_iter) const;
75
78 void populateResiduals(std::vector<double>::iterator output_iter) const;
79
80private:
81
84
85};
86
87} // end of namespace ModelFitting
88
90
91#endif /* MODELFITTING_RESIDUALESTIMATOR_H */
92
Provides to the LeastSquareEngine the residual values.
virtual ~ResidualEstimator()
Destructor.
void populateResiduals(DoubleIter output_iter) const
void registerBlockProvider(std::unique_ptr< ResidualBlockProvider > provider)
Registers a ResidualBlockProvider to the ResidualEstimator.
std::vector< std::unique_ptr< ResidualBlockProvider > > m_block_provider_list