![]() |
Reference documentation for deal.II version 9.4.2
|
Functions | |
| template<int dim> | |
| void | taylor_estimate_function_bounds (const Function< dim > &function, const BoundingBox< dim > &box, std::pair< double, double > &value_bounds, std::array< std::pair< double, double >, dim > &gradient_bounds, const unsigned int component=0) |
| void FunctionTools::taylor_estimate_function_bounds | ( | const Function< dim > & | function, |
| const BoundingBox< dim > & | box, | ||
| std::pair< double, double > & | value_bounds, | ||
| std::array< std::pair< double, double >, dim > & | gradient_bounds, | ||
| const unsigned int | component = 0 |
||
| ) |
Estimate bounds on the value and bounds on each gradient component of a Function, 
Each lower and upper bound is returned as a std::pair<double, double>, such that the first entry is the lower bound, 

![$f(x) \in [L, U]$](form_496.png)
The function value, gradient, and Hessian are computed at the box center. The bounds on the value of the function are then estimated as
![$f(x) \in [f(x_c) - F, f(x_c) + F]$](form_497.png)

Here, 

![$\partial_i f \in [\partial_i f(x_c) - G_i, \partial_i f(x_c) + G_i]$](form_500.png)

If the function has more than 1 component the component parameter can be used to specify which function component the bounds should be computed for.
Definition at line 26 of file function_tools.cc.