Structure holding the values of a function and its gradient, Hessian, third order, and fourth order derivatives at a point.
More...
#include <ptems/spaces/polynomials.hpp>
|
| | FuncFourthOrderData () |
| | Creates structure containing empty (zero) values of a function and its gradient, Hessian, third order, and fourth order derivatives at a point. More...
|
| |
| | FuncFourthOrderData (X func, const BasicVector< X, DIM > &grad, const BasicMatrix< X, DIM > &hessian, const BasicTensor< X, 3, DIM > &thirdOrder, const BasicTensor< X, 4, DIM > &fourthOrder) |
| | Creates structure containing values of a function, and its gradient, Hessian, third order, and fourth order derivatives at a point. More...
|
| |
template<std::size_t DIM, typename X>
struct ptems::FuncFourthOrderData< DIM, X >
Structure holding the values of a function and its gradient, Hessian, third order, and fourth order derivatives at a point.
◆ FuncFourthOrderData() [1/2]
template<std::size_t DIM, typename X >
Creates structure containing empty (zero) values of a function and its gradient, Hessian, third order, and fourth order derivatives at a point.
◆ FuncFourthOrderData() [2/2]
template<std::size_t DIM, typename X >
| ptems::FuncFourthOrderData< DIM, X >::FuncFourthOrderData |
( |
X |
func, |
|
|
const BasicVector< X, DIM > & |
grad, |
|
|
const BasicMatrix< X, DIM > & |
hessian, |
|
|
const BasicTensor< X, 3, DIM > & |
thirdOrder, |
|
|
const BasicTensor< X, 4, DIM > & |
fourthOrder |
|
) |
| |
|
inline |
Creates structure containing values of a function, and its gradient, Hessian, third order, and fourth 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 |
| fourthOrder | Value of third order derivatives at point |
◆ FourthOrder
template<std::size_t DIM, typename X >
The fourth order derivatives of the function as a rank 4 tensor.
The first dimension of the tensor is the first derivative, the second the second derivative etc.
◆ 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