MCPcopy Create free account
hub / github.com/PatWie/CppNumericalSolvers / clone

Method clone

include/cppoptlib/function_expressions.h:68–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66 return c;
67 }
68 virtual std::unique_ptr<FunctionInterface<TScalar, TMode, Dimension>> clone()
69 const override {
70 return std::make_unique<ConstExpression<TScalar, TMode, Dimension>>(c);
71 }
72};
73
74// Helper to compute the minimum differentiability mode.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected