#ifndef LR_STRING_H_ #define LR_STRING_H_ #include "common.h" #include "Utils.h" #include typedef boost::multiprecision::mpf_float long_float; struct string_lr{ long_int theta0 = 0; long_int theta1 = 0; void caltheta(std::vector& x, std::vector& y, int m){ long_int sumx = 0; long_int sumy = 0; long_int sumxy = 0; long_int sumxx = 0; for(int i=0;i