summaryrefslogtreecommitdiff
path: root/dtrain/test/mira_update/Hildreth.h
diff options
context:
space:
mode:
Diffstat (limited to 'dtrain/test/mira_update/Hildreth.h')
-rw-r--r--dtrain/test/mira_update/Hildreth.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/dtrain/test/mira_update/Hildreth.h b/dtrain/test/mira_update/Hildreth.h
new file mode 100644
index 00000000..8d791085
--- /dev/null
+++ b/dtrain/test/mira_update/Hildreth.h
@@ -0,0 +1,10 @@
+#include "sparse_vector.h"
+
+namespace Mira {
+ class Hildreth {
+ public :
+ static std::vector<double> optimise(std::vector< SparseVector<double> >& a, std::vector<double>& b);
+ static std::vector<double> optimise(std::vector< SparseVector<double> >& a, std::vector<double>& b, double C);
+ };
+}
+