Structure holding the values of a function and its gradient, Hessian, and third order derivatives at a point.
More...
#include <ptems/spaces/polynomials.hpp>
|
| | FuncThirdOrderData () |
| | Creates structure containing empty (zero) values of a function and its gradient, Hessian, and third order derivatives at a point. More...
|
| |
| | FuncThirdOrderData (X func, const BasicVector< X, DIM > &grad, const BasicMatrix< X, DIM > &hessian, const BasicTensor< X, 3, DIM > &thirdOrder) |
| | Creates structure containing values of a function, and its gradient, Hessian, and third order derivatives at a point. More...
|
| |
template<std::size_t DIM, typename X>
struct ptems::FuncThirdOrderData< DIM, X >
Structure holding the values of a function and its gradient, Hessian, and third order derivatives at a point.
◆ FuncThirdOrderData() [1/2]
template<std::size_t DIM, typename X >
Creates structure containing empty (zero) values of a function and its gradient, Hessian, and third order derivatives at a point.
◆ FuncThirdOrderData() [2/2]
template<std::size_t DIM, typename X >
Creates structure containing values of a function, and its gradient, Hessian, and third order derivatives at a point.
- Parameters
-
| func | Value of function at point |
| grad | Value of gradient at point |
| hessian | Value of Hessian at point |
| thirdOrder | Value of third order derivatives at point |
◆ Func
template<std::size_t DIM, typename X >
◆ Gradient
template<std::size_t DIM, typename X >
The gradient of the function.
◆ Hessian
template<std::size_t DIM, typename X >
The Hessian of the function.
◆ ThirdOrder
template<std::size_t DIM, typename X >
The third order derivatives of the function as a rank 3 tensor.
The first dimension of the tensor is the first derivative, the second the second derivative etc.
The documentation for this struct was generated from the following file:
- ptems/spaces/polynomials.hpp