|
MeshKernel
|
The hessian values. More...
#include <Hessian.hpp>
Public Member Functions | |
| Hessian ()=default | |
| Default constructor. | |
| Hessian (const UInt dim1, const UInt dim2, const UInt dim3) | |
| Constructor taking 3 parameters. | |
| void | resize (const UInt dim1, const UInt dim2, const UInt dim3) |
| Resize taking 3 parameters. | |
| UInt | size (const UInt dim) const |
| Get the dimension for each dimension. | |
| const HessianDimension & | size () const |
| Get all the Hessian dimensions. | |
| UInt | get1DIndex (const UInt dim2, const UInt dim3) const |
| Get the 1-dimension index of. | |
| double | operator() (const UInt dim1, const UInt dim2, const UInt dim3) const |
| Get the value of the hessian. | |
| double & | operator() (const UInt dim1, const UInt dim2, const UInt dim3) |
| Get the value of the hessian. | |
| double | operator() (const UInt dim1, const UInt dim2) const |
| Access the matrix in 'dim1' as though it were a 1 dimensional array. | |
| const MatrixColMajor & | getMatrix (const UInt dim) const |
| Get the matrix for a dimension. | |
| MatrixColMajor & | getMatrix (const UInt dim) |
| Get the matrix for a dimension. | |
| void | zero () |
| Set all entries to zero. | |
The hessian values.
Implemented as an array of matrices. Not sure what is the best implementation yet for performance.
Access the matrix in 'dim1' as though it were a 1 dimensional array.
dim2 = i + size(1) * j?
|
inline |
Get the dimension for each dimension.
| [in] | dim | For which dimension is the size required, dim in range [0,2] |