#include <DTLinearFit.h>
Public Member Functions | |
DTLinearFit () | |
Constructor. More... | |
void | fit (const std::vector< float > &x, const std::vector< float > &y, int ndat, const std::vector< float > &sigy, float &slope, float &intercept, float &covss, float &covii, float &covsi) const |
~DTLinearFit () | |
Destructor. More... | |
DTLinearFit::DTLinearFit | ( | ) |
DTLinearFit::~DTLinearFit | ( | ) |
void DTLinearFit::fit | ( | const std::vector< float > & | x, |
const std::vector< float > & | y, | ||
int | ndat, | ||
const std::vector< float > & | sigy, | ||
float & | slope, | ||
float & | intercept, | ||
float & | covss, | ||
float & | covii, | ||
float & | covsi | ||
) | const |
Definition at line 26 of file DTLinearFit.cc.
References diffTwoXMLs::g1, diffTwoXMLs::g2, and i.
Referenced by DTSegmentUpdator::fit().