#include <problem.hpp>
compute the value of the functionals, equalities and inequalities associated with the problem
Order
is the maximum automatic differentiation order to perform while evaluating the functional or the constraints(inequalities and equalities).
Public Types | |
enum | { _E_n = problem_type::_E_n } |
typedef mpl::if_<(Order==0), ad_0_type, typename mpl::if_ < Order==1, ad_1_type, ad_2_type >::type >::type | ad_type |
typedef mpl::if_< _E_h!=0, typename data_type::template equalities< ad_type >::type, dummy_data< 0 > >::Result | equalities_array_type |
typedef mpl::if_<(_E_g!=0), typename data_type::template inequalities< ad_type >::type, dummy_data< 0 > >::Result | inequalities_array_type |
Public Member Functions | |
void | to (ad_type const &__adt, f_type &__fx, mpl::int_< 0 >) |
void | to (ad_type const &__adt, f_type &__fx, mpl::int_< 1 >) |
void | to (ad_type const &__adt, f_type &__fx, mpl::int_< 2 >) |
void | to (inequalities_array_type const &__adt, g_type &__gx, mpl::int_< 0 >) |
void | to (inequalities_array_type const &__adt, g_type &__gx, mpl::int_< 1 >) |
void | to (inequalities_array_type const &__adt, g_type &__gx, mpl::int_< 2 >) |
void | to (equalities_array_type const &__adt, h_type &__hx, mpl::int_< 0 >) |
void | to (equalities_array_type const &__adt, h_type &__hx, mpl::int_< 1 >) |
void | to (equalities_array_type const &__adt, h_type &__hx, mpl::int_< 2 >) |
value (problem_type *__pt, vector_type const &__x, f_type &__fx) | |
value (problem_type *__pt, vector_type const &__x, g_type &__gx) | |
value (problem_type *__pt, vector_type const &__x, h_type &__hx) | |