6 #include "eigenstuff.h"
7 #include "countedref.h"
19 virtual unsigned Npar()
const = 0;
31 Eigen::MatrixX2d &H)
const = 0;
34 FatPoint &OutPos)
const = 0;
38 virtual void PosDerivative(Point &Where, Eigen::Matrix2d &Der,
const double & Eps)
const = 0;
virtual void PosDerivative(Point &Where, Eigen::Matrix2d &Der, const double &Eps) const =0
The derivative w.r.t. position.
virtual class needed in the abstraction of the distortion model
Definition: mapping.h:13
virtual void TransformPosAndErrors(const FatPoint &Where, FatPoint &OutPos) const =0
The same as above but without the parameter derivatives (used to evaluate chi^2)
virtual void ComputeTransformAndDerivatives(const FatPoint &Where, FatPoint &OutPos, Eigen::MatrixX2d &H) const =0
Actually applies the mapping and evaluates the derivatives w.r.t the fitted parameters.
virtual unsigned Npar() const =0
Mumber of parameters in total.
virtual void GetMappingIndices(std::vector< unsigned > &Indices) const =0
Provides for this parameter set (of length Npar()) how they map into the "grand" fit.