|
virtual void | impl_compute (result_ref result, const_argument_ref x) const |
| Compute value of function Value is sum of squares of coordinates of vector valued base function. More...
|
|
virtual void | impl_gradient (gradient_ref gradient, const_argument_ref x, size_type row=0) const |
| Gradient. More...
|
|
| GenericDifferentiableFunction (size_type inputSize, size_type outputSize=1, std::string name=std::string()) |
| Concrete class constructor should call this constructor. More...
|
|
virtual void | impl_jacobian (jacobian_ref jacobian, const_argument_ref arg) const |
| Jacobian evaluation. More...
|
|
virtual void | impl_gradient (gradient_ref gradient, const_argument_ref argument, size_type functionId=0) const =0 |
| Gradient evaluation. More...
|
|
void | impl_jacobian (jacobian_ref jacobian, const_argument_ref argument) const |
|
| GenericFunction (size_type inputSize, size_type outputSize=1, std::string name=std::string()) |
| Concrete class constructor should call this constructor. More...
|
|
virtual void | impl_compute (result_ref result, const_argument_ref argument) const =0 |
| Function evaluation. More...
|
|
|
typedef std::pair< size_type, size_type > | jacobianSize_t |
| Jacobian size type (pair of values). More...
|
|
typedef T | traits_t |
| Traits type. More...
|
|
typedef GenericFunctionTraits< T >::value_type | value_type |
| Values type. More...
|
|
typedef GenericFunctionTraits< T >::size_type | size_type |
| Size type. More...
|
|
typedef std::string | name_t |
| Type of a function argument name. More...
|
|
typedef std::vector< name_t > | names_t |
| Type of a vector of function argument names. More...
|
|
typedef std::pair< value_type, value_type > | interval_t |
| Interval type (lower, upper). More...
|
|
typedef std::vector< interval_t > | intervals_t |
| Vector of intervals. More...
|
|
typedef boost::tuple< value_type, value_type, value_type > | discreteInterval_t |
| Types representing a discrete interval. More...
|
|
static value_type | epsilon () |
| Get the value of the machine epsilon, useful for floating types comparison. More...
|
|
static value_type | infinity () |
| Get the value that symbolizes positive infinity. More...
|
|
static interval_t | makeInterval (value_type l, value_type u) |
| Construct an interval from a lower and upper bound. More...
|
|
static interval_t | makeInfiniteInterval () |
| Construct an infinite interval. More...
|
|
static interval_t | makeLowerInterval (value_type l) |
| Construct an interval from a lower bound. More...
|
|
static interval_t | makeUpperInterval (value_type u) |
| Construct an interval from an upper bound. More...
|
|
static value_type | getLowerBound (const interval_t &interval) |
| Get the lower bound of an interval. More...
|
|
static value_type | getUpperBound (const interval_t &interval) |
| Get the upper bound of an interval. More...
|
|
static discreteInterval_t | makeDiscreteInterval (value_type min, value_type max, value_type step) |
| Construct a discrete interval. More...
|
|
static discreteInterval_t | makeDiscreteInterval (interval_t interval, value_type step) |
| Construct a discrete interval. More...
|
|
static value_type | getLowerBound (const discreteInterval_t &interval) |
| Get the lower bound of a discrete interval. More...
|
|
static value_type | getUpperBound (const discreteInterval_t &interval) |
| Get the upper bound of a discrete interval. More...
|
|
static value_type | getStep (const discreteInterval_t &interval) |
| Get the upper step of a discrete interval. More...
|
|
template<typename F > |
static void | foreach (const discreteInterval_t interval, F functor) |
| Iterate on an interval. More...
|
|
template<typename F > |
static void | foreach (const interval_t interval, const size_type n, F functor) |
| Iterate on an interval. More...
|
|
static log4cxx::LoggerPtr | logger |
| Pointer to function logger (see log4cxx documentation). More...
|
|
template<typename T>
class roboptim::GenericSumOfC1Squares< T >
Generic sum of the squares of differentiable functions.
This type enables roboptim to handle Levenberg-Marquardt algorithm. This algorithm indeed minimizes the sum of squares of differentiable functions.
The differentiable functions are stored in a vector valued function called base function.
- Template Parameters
-