Elaboradar 0.1
|
◆ compute_slope()
template<typename T>
Compute least square linear fit (no exception if only scalars where provided)
Definizione alla linea 128 del file statistics.h. 129 {
131 slope = (N*sum_xy-sum_x*sum_y)/(N*sum_x*sum_x-sum_x2);
133 return slope;
134 }
Generic Class to perform statistical analysis Statistic object could be used as accumulator of data a... Definition statistics.h:22 |