MCPcopy Create free account
hub / github.com/davisking/dlib / rosen_solution

Function rosen_solution

dlib/test/optimization_test_functions.h:269–275  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

267
268 template <typename T>
269 matrix<T,2,1> rosen_solution ()
270 {
271 matrix<T,2,1> x;
272 // solution from original documentation.
273 x = 1,1;
274 return x;
275 }
276
277 // ------------------------------------------------------------------------------------
278

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected