Structure holding the values of a function and its gradient at a point.
More...
#include <ptems/spaces/polynomials.hpp>
template<std::size_t DIM, typename X>
struct ptems::FuncAndGradData< DIM, X >
Structure holding the values of a function and its gradient at a point.
◆ FuncAndGradData() [1/2]
template<std::size_t DIM, typename X >
Creates structure containing empty (zero) values of a function and its gradient at a point.
◆ FuncAndGradData() [2/2]
template<std::size_t DIM, typename X >
Creates structure containing values of a function and its gradient at a point.
- Parameters
-
func | Value of function at point |
grad | Value of gradient at point |
◆ Func
template<std::size_t DIM, typename X >
◆ Gradient
template<std::size_t DIM, typename X >
The gradient of the function.
The documentation for this struct was generated from the following file:
- ptems/spaces/polynomials.hpp