diff options
author | astrojhgu <astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675> | 2011-01-04 14:23:16 +0000 |
---|---|---|
committer | astrojhgu <astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675> | 2011-01-04 14:23:16 +0000 |
commit | c38a8d7c3cca296c9f9a70bc3504075b416c68b6 (patch) | |
tree | 8074db0e231490e631abc32ca76ec4ffc641d191 /core/fitter.hpp | |
parent | 81a3fbb8ffd089d2b2db1444f2c95d1927481d43 (diff) | |
download | opt-utilities-c38a8d7c3cca296c9f9a70bc3504075b416c68b6.tar.bz2 |
git-svn-id: file:///home/svn/opt_utilities@152 ed2142bd-67ad-457f-ba7c-d818d4011675
Diffstat (limited to 'core/fitter.hpp')
-rw-r--r-- | core/fitter.hpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/core/fitter.hpp b/core/fitter.hpp index 9caae67..5ec85c5 100644 --- a/core/fitter.hpp +++ b/core/fitter.hpp @@ -1266,6 +1266,15 @@ namespace opt_utilities }
return *(this->p_statistic);
}
+
+ /**
+ \return current statstic value
+ */
+ Ts get_statistic_value()
+ {
+ Tp current_params(get_model().get_all_params());
+ return get_statistic().eval(get_model().deform_param(current_params));
+ }
/**
Get the optimization method that used
|