#include <vector>
Go to the source code of this file.
Classes | |
class | LinearFit |
Functions | |
template<typename T > | |
void | linearFit (T const *__restrict__ x, T const *__restrict__ y, int ndat, T const *__restrict__ sigy2, T &slope, T &intercept, T &covss, T &covii, T &covsi) |
void linearFit | ( | T const *__restrict__ | x, |
T const *__restrict__ | y, | ||
int | ndat, | ||
T const *__restrict__ | sigy2, | ||
T & | slope, | ||
T & | intercept, | ||
T & | covss, | ||
T & | covii, | ||
T & | covsi | ||
) |
Definition at line 29 of file LinearFit.h.
References ztail::d, diffTwoXMLs::g1, diffTwoXMLs::g2, mps_fire::i, slope, x, and relval_data_highstats::y.
Referenced by RZLine::calculate(), and VectorHitBuilderAlgorithm::fit().