#include <problem.hpp>
Public Types | |
| enum | { _E_n = Data::_E_n, _E_f = 1, _E_g = Data::_E_g, _E_ng = Data::_E_g + 2*_E_n, _E_h = Data::_E_h, _E_nA = Data::_E_n + ( _E_n )*( _E_n-1 )/2 } |
|
typedef IF< Id==FUNCTIONAL, typename array_fixed < numerical_gradient_type, _E_f >::type, typename IF< Id==EQUALITIES, typename array_fixed < numerical_gradient_type, _E_h >::type, typename array_fixed < numerical_gradient_type, _E_g >::type >::Result > ::Result | gradient_type |
| value type for the functional gradient | |
|
typedef IF< Id==FUNCTIONAL, typename array_fixed < numerical_hessian_type, _E_f > ::type, typename IF< Id==EQUALITIES, typename array_fixed < numerical_hessian_type, _E_h > ::type, typename array_fixed < numerical_hessian_type, _E_g > ::type >::Result >::Result | hessian_type |
| value type for the functional hessian: in packed format | |
| typedef ublas::vector< double > | numerical_gradient_type |
|
typedef ublas::symmetric_matrix < double, ublas::upper > | numerical_hessian_type |
| matrix type | |
| typedef Data::value_type | numerical_type |
|
typedef IF< Id==FUNCTIONAL, typename array_fixed < numerical_type, _E_f >::type, typename IF< Id==EQUALITIES, typename array_fixed < numerical_type, _E_h >::type, typename array_fixed < numerical_type, _E_ng > ::type >::Result >::Result | value_type |
| value type for the functional | |
Public Member Functions | |
| gradient_type const & | gradient () const |
| gradient_type & | gradient () |
| numerical_gradient_type & | gradient (int __i) |
| numerical_gradient_type | gradient (int __i) const |
| numerical_type & | gradient (int __i, int __j) |
| numerical_type | gradient (int __i, int __j) const |
| hessian_type const & | hessian () const |
| hessian_type & | hessian () |
| numerical_hessian_type const & | hessian (int __i) const |
| numerical_hessian_type & | hessian (int __i) |
| numerical_type & | hessian (int __i, int __j, int __k) |
| numerical_type | hessian (int __i, int __j, int __k) const |
| value_type | value () const |
| value_type & | value () |
| numerical_type | value (int __i) const |
| numerical_type & | value (int __i) |
Protected Attributes | |
| gradient_type | M_grad |
| hessian_type | M_hess |
| value_type | M_val |
| anonymous enum |
1.8.5