aboutsummaryrefslogtreecommitdiffstats
path: root/methods/gsl_simplex
diff options
context:
space:
mode:
Diffstat (limited to 'methods/gsl_simplex')
-rw-r--r--methods/gsl_simplex/gsl_simplex.hpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/methods/gsl_simplex/gsl_simplex.hpp b/methods/gsl_simplex/gsl_simplex.hpp
index cb26ac6..5297e7a 100644
--- a/methods/gsl_simplex/gsl_simplex.hpp
+++ b/methods/gsl_simplex/gsl_simplex.hpp
@@ -106,11 +106,21 @@ namespace opt_utilities
}
+ array1d_type do_get_start_point()const
+ {
+ return start_point;
+ }
+
void do_set_precision(rT t)
{
threshold=t;
}
+ rT do_get_precision()const
+ {
+ return threshold;
+ }
+
void do_set_optimizer(optimizer<rT,pT>& o)
{
p_optimizer=&o;