3 #ifndef WIRECELL_RESS_HEADER_SEEN 4 #define WIRECELL_RESS_HEADER_SEEN 39 vector_t source = Eigen::VectorXd(),
41 vector_t weights = Eigen::VectorXd()
44 vector_t
predict(matrix_t response, vector_t source);
46 double chi2(vector_t measured, vector_t predicted);
50 double chi2_l1(vector_t measured, vector_t solved,
double lambda = 1.0);
double chi2(vector_t measured, vector_t predicted)
vector_t predict(matrix_t response, vector_t source)
vector_t solve(matrix_t response, vector_t measured, const Params ¶ms=Params(), vector_t source=Eigen::VectorXd(), vector_t weights=Eigen::VectorXd())
double mean_residual(vector_t measured, vector_t predicted)
double chi2_l1(vector_t measured, vector_t solved, double lambda=1.0)