MCPcopy Create free account
hub / github.com/dartsim/dart / evalGradient

Method evalGradient

dart/optimizer/Function.cpp:65–70  ·  view source on GitHub ↗

==============================================================================

Source from the content-addressed store, hash-verified

63
64//==============================================================================
65void Function::evalGradient(
66 const Eigen::VectorXd& /*_x*/, Eigen::Map<Eigen::VectorXd> /*_grad*/)
67{
68 dtwarn << "Gradient is not provided by function named [" << mName
69 << "]. Use gradient-free algorithm.\n";
70}
71
72//==============================================================================
73void Function::evalGradient(const Eigen::VectorXd& _x, Eigen::VectorXd& _grad)

Callers 4

solveMethod · 0.45
eval_grad_fMethod · 0.45
eval_jac_gMethod · 0.45
_nlopt_funcMethod · 0.45

Calls 2

sizeMethod · 0.45
resizeMethod · 0.45

Tested by

no test coverage detected