MCPcopy Create free account
hub / github.com/PatWie/CppNumericalSolvers / operator()

Method operator()

include/cppoptlib/function_base.h:247–250  ·  view source on GitHub ↗

Call operator.

Source from the content-addressed store, hash-verified

245
246 // Call operator.
247 ScalarType operator()(const VectorType& x, VectorType* grad = nullptr,
248 MatrixType* hess = nullptr) const {
249 return (*ptr)(x, grad, hess);
250 }
251
252 // Exposes the stored interface for mode-downgrading converting
253 // construction into a weaker-mode `FunctionExpr`. Returns a

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected