| 28 | } |
| 29 | |
| 30 | std::vector<std::vector<double>> Function::evalHessian(const std::vector<double> &x) const |
| 31 | { |
| 32 | auto denseX = vectorToDenseVector(x); |
| 33 | |
| 34 | return denseMatrixToVectorVector(secondOrderCentralDifference(denseX)); |
| 35 | } |
| 36 | |
| 37 | std::vector<double> Function::centralDifference(const std::vector<double> &x) const |
| 38 | { |
nothing calls this directly
no test coverage detected