| 44 | } |
| 45 | |
| 46 | std::vector<std::vector<double>> Function::secondOrderCentralDifference(const std::vector<double> &x) const |
| 47 | { |
| 48 | auto denseX = vectorToDenseVector(x); |
| 49 | |
| 50 | DenseMatrix ddx = secondOrderCentralDifference(denseX); |
| 51 | |
| 52 | return denseMatrixToVectorVector(ddx); |
| 53 | } |
| 54 | |
| 55 | DenseMatrix Function::evalJacobian(DenseVector x) const |
| 56 | { |
nothing calls this directly
no test coverage detected