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

Method gg22

dlib/test/numerical_integration.cpp:208–222  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

206 }
207
208 static double gg22(double x)
209 {
210 if(x < 1)
211 {
212 return (x + 1.0);
213 }
214 else if(x >= 1 && x <= 3)
215 {
216 return (3.0 - x);
217 }
218 else
219 {
220 return 2.0;
221 }
222 }
223
224 };
225

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected