From 2aed1b11102196f3d839b2801a92a87243355725 Mon Sep 17 00:00:00 2001 From: Joe Zhao Date: Wed, 8 Apr 2015 17:33:02 +0800 Subject: conjugate gradient method tested --- model/ranksvmtn.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'model/ranksvmtn.h') diff --git a/model/ranksvmtn.h b/model/ranksvmtn.h index cdb9796..703fee4 100644 --- a/model/ranksvmtn.h +++ b/model/ranksvmtn.h @@ -16,4 +16,6 @@ public: virtual int predict(DataSet &D, Labels &res); }; +int cg_solve(const Eigen::MatrixXd &A, const Eigen::VectorXd &b, Eigen::VectorXd &x); + #endif \ No newline at end of file -- cgit v1.2.3-70-g09d2