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

Function der_simple

dlib/test/optimization.cpp:123–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121 }
122
123 matrix<double,2,1> der_simple ( const matrix<double,2,1>& x)
124 {
125 ++total_count;
126 matrix<double,2,1> res;
127 res(0) = 20*x(0);
128 res(1) = 2*x(1);
129 return res;
130 }
131
132// ----------------------------------------------------------------------------------------
133

Callers

nothing calls this directly

Calls 1

xFunction · 0.85

Tested by

no test coverage detected