aboutsummaryrefslogtreecommitdiffstats
path: root/methods/powell/powell_method.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'methods/powell/powell_method.hpp')
-rw-r--r--methods/powell/powell_method.hpp20
1 files changed, 9 insertions, 11 deletions
diff --git a/methods/powell/powell_method.hpp b/methods/powell/powell_method.hpp
index 6424a94..6bb6519 100644
--- a/methods/powell/powell_method.hpp
+++ b/methods/powell/powell_method.hpp
@@ -1,3 +1,7 @@
+/**
+ \file powell_method.hpp
+ */
+
#ifndef POWELL_METHOD
#define POWELL_METHOD
#include <core/optimizer.hpp>
@@ -7,21 +11,15 @@
#include <cmath>
#include "linmin.hpp"
#include <algorithm>
-/*
- *
-*/
#include <iostream>
namespace opt_utilities
{
- /*
- template <typename T>
- T tabs(T x)
- {
- return x<0?-x:x;
- }
- */
-
+ /**
+ Impliment of an optimization method
+ \tparam rT return type of the object function
+ \tparam pT parameter type of the object function
+ */
template <typename rT,typename pT>
class powell_method
:public opt_method<rT,pT>