aboutsummaryrefslogtreecommitdiffstats
path: root/statistics/leastsq.hpp
diff options
context:
space:
mode:
authorastrojhgu <astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675>2009-08-22 16:48:40 +0000
committerastrojhgu <astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675>2009-08-22 16:48:40 +0000
commitb5742a78297257d18959385e7a88a1f230bdcafe (patch)
tree5a07e2eef93bdfeef20d3b699bef908236b12662 /statistics/leastsq.hpp
parent4e6cebbb431222a5d8fa3bc62d5de44c93c8a93e (diff)
downloadopt-utilities-b5742a78297257d18959385e7a88a1f230bdcafe.tar.bz2
git-svn-id: file:///home/svn/opt_utilities@49 ed2142bd-67ad-457f-ba7c-d818d4011675
Diffstat (limited to 'statistics/leastsq.hpp')
-rw-r--r--statistics/leastsq.hpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/statistics/leastsq.hpp b/statistics/leastsq.hpp
index 48b753a..6ac0adc 100644
--- a/statistics/leastsq.hpp
+++ b/statistics/leastsq.hpp
@@ -1,3 +1,7 @@
+/**
+ \file leastsq.hpp
+ */
+
#ifndef LEAST_SQ_HPP
#define LeAST_SQ_HPP
#include <core/fitter.hpp>
@@ -8,6 +12,15 @@ using std::cerr;using std::endl;
namespace opt_utilities
{
+
+ /**
+ least-square statistic
+ \tparam Ty the return type of model
+ \tparam Tx the type of the self-var
+ \tparam Tp the type of model parameter
+ \tparam Ts the type of the statistic
+ \tparam Tstr the type of the string used
+ */
template<typename Ty,typename Tx,typename Tp,typename Ts,typename Tstr>
class leastsq
:public statistic<Ty,Tx,Tp,Ts,Tstr>