MCPcopy Create free account
hub / github.com/bgrimstad/splinter / evalJacobian

Method evalJacobian

src/function.cpp:23–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21}
22
23std::vector<double> Function::evalJacobian(const std::vector<double> &x) const
24{
25 auto denseX = vectorToDenseVector(x);
26
27 return denseVectorToVector(evalJacobian(denseX));
28}
29
30std::vector<std::vector<double>> Function::evalHessian(const std::vector<double> &x) const
31{

Callers

nothing calls this directly

Calls 3

vectorToDenseVectorFunction · 0.85
denseVectorToVectorFunction · 0.85
centralDifferenceFunction · 0.85

Tested by

no test coverage detected