23 #ifndef MODELFITTING_RESIDUALBLOCKPROVIDER_H
24 #define MODELFITTING_RESIDUALBLOCKPROVIDER_H
26 namespace ModelFitting {
Interface of a class which can provide a block of residuals for least square minimization solving...
virtual std::size_t numberOfResiduals() const =0
Returns the number of residuals provided by this provider.
virtual void populateResidualBlock(IterType output_iter)=0
Provides the residual values.
virtual ~ResidualBlockProvider()=default
Destructor.