aboutsummaryrefslogtreecommitdiffstats
path: root/utilities/opt_types.hpp
diff options
context:
space:
mode:
authorastrojhgu <astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675>2008-12-15 07:26:12 +0000
committerastrojhgu <astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675>2008-12-15 07:26:12 +0000
commit1f4a944064bc42284c33e6b755353d191cf288e8 (patch)
treec8cb2253dea5f395e0f867aa6976433bd3eb00de /utilities/opt_types.hpp
downloadopt-utilities-1f4a944064bc42284c33e6b755353d191cf288e8.tar.bz2
git-svn-id: file:///home/svn/opt_utilities@1 ed2142bd-67ad-457f-ba7c-d818d4011675
Diffstat (limited to 'utilities/opt_types.hpp')
-rw-r--r--utilities/opt_types.hpp29
1 files changed, 29 insertions, 0 deletions
diff --git a/utilities/opt_types.hpp b/utilities/opt_types.hpp
new file mode 100644
index 0000000..ebe56c7
--- /dev/null
+++ b/utilities/opt_types.hpp
@@ -0,0 +1,29 @@
+#ifndef OPT_TYPES_HPP
+#define OPT_TYPES_HPP
+#include <core/fitter.hpp>
+#include <core/default_data_set.hpp>
+#include <methods/powell/powell_method.hpp>
+#include <statistics/chisq.hpp>
+#include <vector>
+
+namespace opt_utilities
+{
+ template <typename Ty,typename Tx,typename Tp,typename Ts,typename Tstr>
+ class opt_types
+ {
+ public:
+ typedef fitter<Ty,Tx,Tp,Ts,Tstr> fitter;
+ typedef chisq<Ty,Tx,Tp,Ts,Tstr> chisq;
+ typedef powell_method<Ty,Tp> powell_method;
+ typedef model<Ty,Tx,Tp,Tstr> model;
+ typedef default_data_set<Ty,Ty> data_set;
+ };
+
+ typedef opt_types<double,double,std::vector<double>,double,std::string> dopt;
+}
+
+
+
+
+#endif
+//EOF